Space management method, apparatus and system, device cluster, program product and medium

By obtaining user object information and dividing virtual space partitions, cross-server status synchronization and load balancing are achieved, which solves the problem of large number of user interactions and load balancing in virtual space in the existing technology, and improves the synchronization efficiency and user experience of virtual space.

WO2024183418A1PCT designated stage expired Publication Date: 2024-09-12HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/141712
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2023-12-25
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing technology is difficult to realize real-time interaction of a large number of users in a single virtual space, and it is difficult to achieve state synchronization and load balancing of virtual spaces under a multi-server architecture, resulting in development complexity and poor robustness.

Method used

By obtaining user object information from multiple clients, determining the spatial information of the virtual space, and dividing the virtual space into partitions based on areas of interest, cross-server status synchronization and load balancing are achieved, and real-time user interaction in large virtual spaces is supported.

Benefits of technology

There is no need to change the distributed server architecture, enabling real-time interaction of a large number of users in a single virtual space, optimizing the overall overhead and load distribution of multiple servers, and improving the synchronization efficiency and user experience of the virtual space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023141712_12092024_PF_FP_ABST
    Figure CN2023141712_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a space management method, apparatus and system, a device cluster, a program product and a medium. In the embodiments of the present disclosure, the method comprises: acquiring object information associated with a plurality of users of a plurality of clients from a plurality of servers corresponding to the plurality of clients accessing a virtual space; on the basis of the object information, determining space information of the virtual space; for each user of the plurality of users, on the basis of the space information and a region of interest associated with each user, determining region information associated with the region of interest, the region of interest comprising at least a portion of the virtual space; and sending the region information determined for each user to the server corresponding to the client of the user. In this way, the present disclosure achieves synchronization of state information across servers, and supports a large number of users being together located in a single virtual space, thereby realizing real-time interaction of users in large virtual spaces of large scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Space management method, device, system, equipment cluster, program product and medium

[0001] This application claims priority to the Chinese invention patent application filed with the China Patent Office on March 8, 2023, with application number 202310218400.9 and invention name “Space management method, device, system, equipment cluster, program product and medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure generally relates to the field of computer technology, and more particularly to a space management method, a space management apparatus, a space management system, a computing device cluster, a computer program product, and a computer-readable storage medium. Background Art

[0003] Metaverse technology has developed rapidly in recent years. By mapping the real world into the virtual world, enabling interaction between the two, it provides users with a virtual digital space. The digital technologies used to build the Metaverse integrate cloud computing, artificial intelligence, virtual reality, blockchain, digital currency, the Internet of Things, and human-computer interaction, enhancing the user experience within this virtual digital space.

[0004] With the development of metaverse instances and the evolution of technologies like 3D media, there's a growing demand for implementing digital marketing, digital twin factories, and brand promotion or 3D media advertising within virtual digital event spaces. For example, when implementing scenarios like exhibitions, concerts, and press conferences within virtual digital event spaces, a large number of users will be present simultaneously. This allows each user to interact with each other in person, while also providing a shared experience and enabling digital marketing services.

[0005] Summary of the Invention

[0006] According to some embodiments of the present disclosure, a space management method, a space management apparatus, a space management system, a computing device cluster, a computer program product, and a computer-readable storage medium are provided.

[0007] In the first aspect of the present disclosure, a space management method is provided. The space management method includes: obtaining object information associated with multiple users of multiple clients accessing a virtual space from multiple servers corresponding to the multiple clients; determining the space information of the virtual space based on the object information; for each of the multiple users, determining area information associated with the area of ​​interest based on the space information and the area of ​​interest associated with each user, wherein the area of ​​interest includes at least a portion of the virtual space; and sending the area information determined for each user to the server corresponding to the client of the user. In this way, it is possible to synchronize state information across servers without changing the architecture of the existing distributed servers, thereby supporting a large number of users to be in a single virtual space together, so as to realize real-time user interaction in a large virtual space with a large scene.

[0008] In some embodiments, the space management method further includes: dividing the virtual space into a plurality of virtual space partitions; and associating one or more of the plurality of virtual space partitions with one or more of the plurality of servers, so that the server performs computational processing related to the one or more virtual space partitions associated with the server. In this way, a single virtual space can be further divided and associated with servers to achieve load balancing across the servers.

[0009] In some embodiments, determining the spatial information of the virtual space includes: updating spatial partition information of a virtual space partition associated with a server corresponding to a client of each user based on the object information associated with the user; and determining the spatial information of the virtual space based on the updated spatial partition information. This allows the server to update the spatial partition information associated with its users without requiring the server to handle the entire load of the virtual space.

[0010] In some embodiments, dividing the virtual space into a plurality of virtual space partitions includes at least one of the following: dividing the virtual space into a plurality of virtual space partitions based on a preset size of the virtual space partitions, wherein spatial partition information of each virtual space partition indicates object information of users within an area corresponding to the preset size in the virtual space; or determining the plurality of virtual space partitions based on the number of copies of the virtual space, wherein spatial partition information of each virtual space partition indicates object information of users within the virtual space corresponding to a portion of the number of copies. In this way, the division of the virtual space can be flexibly implemented through a horizontal partitioning strategy, a vertical partitioning strategy, and a hybrid partitioning strategy based on the horizontal partitioning strategy and the vertical partitioning strategy, so as to flexibly implement load distribution accordingly.

[0011] In some embodiments, associating one or more of the plurality of virtual space partitions with one or more of the plurality of servers includes: determining, for each server, the number of regions of interest (ROIs) of users of a client corresponding to the server in each virtual space partition based on the plurality of regions of interest (ROIs) associated with the plurality of users; and, if the number of regions of interest of users of the client corresponding to the server in a particular virtual space partition is greater than a predetermined number, associating the particular virtual space partition with the server so that the server performs computational processing related to the particular virtual space partition. In this manner, by assigning corresponding virtual space partitions to servers with a greater number of regions of interest, centralized computational processing can be achieved, thereby optimizing the overall overhead of the plurality of servers.

[0012] In some embodiments, the space management method further includes: determining at least one of the number of users within the virtual space partition and the sparsity of the virtual space based on the object information associated with each user; dividing the virtual space partition where at least one of the number of users or the sparsity is greater than a predetermined threshold to determine a plurality of second virtual space partitions; and associating one or more of the plurality of determined second virtual space partitions with one or more of the plurality of servers. In this way, when users are concentrated in a particular area or when there are fewer users in a particular area, dynamic partition adjustments can be made to further distribute the load pressure.

[0013] In some embodiments, determining the region information associated with the region of interest includes: determining at least one virtual space partition associated with the region of interest based on the spatial information and the region of interest associated with the user; and determining the region information based on the determined spatial partition information of the at least one virtual space partition. In this way, region information provided to the user can be determined based on the user's region of interest and the virtual space partition, further optimizing processing overhead.

[0014] In some embodiments, the object information includes position information of the user's virtual instance in the virtual space, and determining region information associated with the region of interest further comprises: determining the region of interest associated with the user based on the position information of the user's virtual instance in the virtual space; determining an extended region of interest having a larger area than the region of interest based on the region of interest associated with the user; and determining the region information based on the spatial information and the extended region of interest. In this way, region information that is more extended than the user's region of interest can be provided, thereby enriching the user's field of view in the virtual space and facilitating rapid response to the user's positional movements.

[0015] In some embodiments, sending the region information determined for each user to a server corresponding to the client of the user includes: determining, for each of the plurality of servers, a plurality of region information for a plurality of users associated with the server; determining, for each of the plurality of region information determined, a set of region information for the server; and sending the set of region information for the server to each of the plurality of servers at predetermined time intervals. In this way, the region information for each client corresponding to the server can be centrally obtained on a server-by-server basis, further improving synchronization efficiency.

[0016] In some embodiments, the object information includes at least one of attribute information of the user's virtual instance, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance; the space information includes environmental configuration information of the entire area of ​​the virtual space, attribute information of the user's virtual instance in the virtual space, position information of the user's virtual instance in the virtual space, or at least one of relevant interaction information of the user's virtual instance; and the area information includes environmental configuration information within an area range associated with an area of ​​interest in the virtual space, attribute information of the user's virtual instance within an area range associated with an area of ​​interest, position information of the user's virtual instance in the virtual space, or at least one of relevant interaction information of the user's virtual instance.

[0017] In a second aspect of the present disclosure, a space management method is provided. The space management method is performed by a space management system, which includes a space management device, multiple servers communicating with the space management device, and multiple clients communicating with each of the multiple servers and accessing a virtual space. The space management method includes: at the server, sending object information associated with multiple users of the multiple clients corresponding to the server to the space management device; at the space management device, determining the space information of the virtual space based on the object information sent from the multiple servers; at the space management device, for each user of the multiple users, determining area information associated with the area of ​​interest based on the space information and the area of ​​interest associated with each user, wherein the area of ​​interest includes at least a portion of the virtual space; at the space management device, sending the area information determined for each user to the server corresponding to the client of the user; and at the server, sending the area information determined for the user of the client corresponding to the server to the client.

[0018] In a third aspect of the present disclosure, a space management device is provided. The space management device includes: a state synchronization module configured to obtain object information associated with multiple users of multiple clients accessing a virtual space from multiple servers corresponding to the multiple clients; a space management module configured to determine spatial information of the virtual space based on the object information; a space scheduling module configured to determine, for each of the multiple users, region information associated with a region of interest associated with the region of interest based on the spatial information and the region of interest associated with the user, wherein the region of interest includes at least a portion of the virtual space; and wherein the state synchronization module is further configured to send the region information determined for each user to the server corresponding to the client of the user.

[0019] In a fourth aspect of the present disclosure, a space management system is provided. The space management system includes: a space management device configured to execute the method according to the first aspect of the present disclosure; a plurality of servers communicating with the space management device; and a plurality of clients corresponding to each of the plurality of servers.

[0020] In a fifth aspect of the present disclosure, a computing device cluster is provided. The computing device cluster includes at least one computing device, each computing device including a processor and a memory, wherein the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster performs the method as described in the first aspect of the present disclosure. In some embodiments, the computing device cluster includes one computing device. In other embodiments, the computing device cluster includes multiple computing devices. In some embodiments, the computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0021] In a sixth aspect of the present disclosure, a computing device cluster is provided. The computing device cluster includes at least one computing device, each computing device including a processor and a memory, wherein the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster performs the method as described in the second aspect of the present disclosure. In some embodiments, the computing device cluster includes one computing device. In other embodiments, the computing device cluster includes multiple computing devices. In some embodiments, the computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0022] In a seventh aspect of the present disclosure, a computer program product comprising instructions is provided. When executed by a computing device cluster, the instructions cause the computing device cluster to perform the method described in the first aspect of the present disclosure. In some embodiments, the program product may include one or more software installation packages. When the method described in the first aspect or its possible variations is required, the software installation packages may be downloaded or copied and executed on a computing device.

[0023] In an eighth aspect of the present disclosure, a computer program product comprising instructions is provided. When executed by a computing device cluster, the instructions cause the computing device cluster to perform the method described in the second aspect of the present disclosure. In some embodiments, the program product may include one or more software installation packages. When the method described in the first aspect or its possible variations is required, the software installation packages may be downloaded or copied and executed on a computing device.

[0024] In a ninth aspect of the present disclosure, a computer-readable storage medium is provided, characterized in that it includes computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method as described in the first aspect of the present disclosure. In some embodiments, the computer-readable storage medium may be non-transitory. The computer-readable storage medium includes, but is not limited to, volatile memory (e.g., random access memory), non-volatile memory (e.g., flash memory, hard disk drive (HDD), solid state drive (SSD), etc.).

[0025] In a tenth aspect of the present disclosure, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method as described in the second aspect of the present disclosure. In some embodiments, the computer-readable storage medium can be non-transitory. The computer-readable storage medium includes, but is not limited to, volatile memory (e.g., random access memory) and non-volatile memory (e.g., flash memory, hard disk, solid-state disk, etc.).

[0026] It should be understood that the contents described in the Summary of the Invention section are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The features, advantages and other aspects of the various implementations of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Several implementations of the present disclosure are shown here in an exemplary and non-limiting manner. In the accompanying drawings:

[0028] FIG1 shows an example diagram of a space management system according to an embodiment of the present disclosure;

[0029] FIG2A shows an example flow chart of a space management method applicable to a space management system according to an embodiment of the present disclosure;

[0030] FIG2B shows a schematic diagram of a virtual space environment to which a space management method is applicable according to an embodiment of the present disclosure;

[0031] FIG2C shows an example flow chart of a space management system according to an embodiment of the present disclosure;

[0032] FIG2D shows another example diagram of a space management system according to an embodiment of the present disclosure.

[0033] FIG2E shows an example sequence diagram of a space management system according to an embodiment of the present disclosure;

[0034] FIG2F shows another example diagram of a space management system according to an embodiment of the present disclosure;

[0035] FIG3A shows an example diagram of a space management system applicable to a space partitioning strategy according to an embodiment of the present disclosure;

[0036] FIG3B shows a schematic diagram of a virtual space environment according to a horizontal partitioning strategy according to an embodiment of the present disclosure;

[0037] FIG3C shows a schematic diagram of a virtual space environment according to a vertical partitioning strategy according to an embodiment of the present disclosure;

[0038] FIG3D shows a schematic diagram of a virtual space environment with a hybrid partitioning strategy according to an embodiment of the present disclosure;

[0039] FIG4A shows an example flow chart of a space management method based on a virtual space partitioning strategy according to an embodiment of the present disclosure;

[0040] FIG4B shows a schematic diagram of a virtual space environment based on virtual space partitions according to an embodiment of the present disclosure;

[0041] FIG5 shows a schematic block diagram of a space management device according to some embodiments of the present disclosure;

[0042] FIG6 shows a schematic block diagram of an example device that can be used to implement an example implementation of the present disclosure;

[0043] FIG7 shows a schematic block diagram of an example device cluster that can be used to implement example implementations of the present disclosure; and

[0044] FIG8 shows a schematic block diagram of another example device that can be used to implement the example implementations of the present disclosure. DETAILED DESCRIPTION

[0045] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0046] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. can refer to different or the same objects. The term "and / or" means at least one of the two items it is associated with. For example, "A and / or B" means A, B, or A and B. Other explicit and implicit definitions may also be included below.

[0047] It should be understood that in the technical solutions provided by the embodiments of the present application, some repetitions may not be repeated in the introduction of the following specific embodiments, but these specific embodiments should be regarded as having been referenced to each other and can be combined with each other.

[0048] Generally, an example of multiple users' activities occurring simultaneously in a virtual space can include MMO (Massively Multiplayer Online) games. In a conventional MMO game server architecture, a server is configured to support an independent virtual space (VS), and the server corresponds to a limited number of clients (e.g., 100 clients or fewer / more), which interact with each other in the virtual space supported by the server. For example, the server receives input information from each client, sorts the input information received from each client based on chronological order, and integrates the content with the virtual space supported by the server to generate an output sequence. The server then distributes the generated output sequence to each client, so that each client displays the content corresponding to the output sequence. In this way, by synchronizing the status of each client, the server enables users to interact with the virtual space supported by the server itself and other users in the virtual space.

[0049] However, the inventors of the present disclosure have noticed that one server can only handle a limited number of clients, otherwise it will exceed the server's capacity. Even if multiple servers are used in parallel to share the simultaneous access needs of a large number of clients, since the virtual spaces between the multiple servers are independent of each other, it is difficult to achieve real-time synchronization of the status of each user cluster in the virtual space and scene integration. Therefore, the server architecture of conventional MMO games cannot enable a large number of users to interact in the same virtual space. On the other hand, since different servers may adopt different engine architectures, when multiple servers are used to build independent large-scale virtual spaces, developers need to use programming languages ​​of different engine architectures for development and maintenance. In particular, when multiple servers are used, the construction of business logic for multiple virtual spaces of different themes may also be involved, which further leads to greater development complexity and poor robustness.

[0050] To this end, the present disclosure provides a space management solution, for example, for a large virtual space. In the space management solution of the present disclosure, a space management device obtains object information associated with multiple users of the multiple clients from multiple servers corresponding to the multiple clients accessing the virtual space. The space management device determines the space information of the virtual space based on the object information. For each of the multiple users, the space management device determines the area information associated with the area of ​​interest based on the space information and the area of ​​interest associated with each user, and sends the area information determined for each user to the server corresponding to the client of the user. According to the space management solution of the present disclosure, it is possible to synchronize status information across servers without changing the architecture of the existing distributed servers, thereby supporting a large number of users to be in a single virtual space together, so as to realize real-time interaction between users in large virtual spaces with large scenes.

[0051] In the embodiments of the present disclosure, the term "virtual space" refers to, for example, a virtualized space environment that can accommodate multiple users to interact, which can be implemented based on three-dimensional modeling technology. In some embodiments, the virtual space can have different types of scenes, such as virtual live broadcasts, virtual exhibitions, virtual concerts, cloud online meetings, and the like. In some embodiments, the virtual space can be applicable to the metaverse virtual reality space described above in the present disclosure. In some embodiments, the virtual space can realize digital twin factory virtual simulation and city modeling, and is equipped with virtualized components to accommodate virtual instances of users. It should be understood that the definition of the virtual space of the present disclosure is not limited to this, as long as it is an independent category suitable for supporting multiple users to access and interact online at the same time. The embodiments of the present disclosure are applicable to various application scenarios, including, for example, digital human courseware production and virtual teacher teaching in the education field; digital human endorsements, digital human lectures, and digital human conferences in the government and public utilities field; intelligent medical customer service and virtual doctor training in the healthcare field; digital human intelligent customer service, digital human corporate endorsements, and digital human training video production in the financial field; intelligent customer service, digital human tour guides, and digital human explanations in the cultural and tourism field; virtual variety show hosts, virtual news anchors, and virtual sign language anchors in the broadcasting and television media field; and digital human entertainment live streaming, digital human short video production, and e-commerce live streaming in the interactive entertainment and e-commerce field. However, the application scenarios of the present disclosure are not limited to these; any method suitable for implementing the embodiments of the present disclosure is applicable.

[0052] In the embodiments of the present disclosure, the term "object information" refers to, for example, information related to the user, which may include, for example, attribute information of the user's virtual instance, orientation information in the virtual space, and related interaction information of the virtual instance. In some embodiments, object information may also include environmental configuration information that supports the user's virtual instance experience in the virtual space, such as buildings, vegetation, animals, intelligent robots, etc. in the virtual space. In some embodiments, the user's virtual instance may be, for example, an avatar of the user, which may be presented in the form of a simulated person, or of course, in other types of images. It should be understood that the definition of object information in the present disclosure is not limited to this, as long as it is relevant information suitable for the user relative to the virtual space.

[0053] In an embodiment of the present disclosure, the term "area of ​​interest" (AOI) refers to, for example, an area in a virtual space that a user is interested in. In some embodiments, the area of ​​interest may be a partial area in the virtual space, or the entire virtual space. In some embodiments, the area of ​​interest may be determined based on the user's selection or subscription, or may be provided by a default configuration by the space management system, or may be determined by the space management system based on the physical location of the user's client, the physical location of the corresponding server, or any other factors. In some embodiments, the space management system may provide relevant updated area information based on the user's area of ​​interest, so that the content in the virtual space related to the area of ​​interest is presented on the user's client. It should be understood that the definition of the area of ​​interest of the present disclosure is not limited to this, and may also be determined based on other factors.

[0054] FIG1 shows an example diagram of a space management system according to an embodiment of the present disclosure. As shown in FIG1 , the space management system of the present disclosure includes a space management device 110, multiple servers 120-1, 120-2, ..., 120-N (hereinafter sometimes collectively referred to as "servers 120"), and multiple client clusters corresponding to the multiple servers, for example, the client cluster corresponding to server 120-1 includes multiple clients 131-1, 131-2, ..., 131-M, the client cluster corresponding to server 120-2 includes multiple clients 132-1, 132-2, ..., 132-M, and the client cluster corresponding to server 120-M includes multiple clients 13N-1, 13N-2, ..., 13N-M. It should be understood that in an embodiment of the present disclosure, the values ​​of M and N can be positive integers greater than 2, and the value of M can be different in different client clusters corresponding to different servers. In an embodiment of the present disclosure, the servers 120 can respectively include server-side business engines, and the clients can respectively include client business engines corresponding to the servers 120 corresponding thereto. In some embodiments, developers can develop a server-side service engine and a client-side service engine using a specific service engine architecture to enable communication and interaction between the client and the server. In some embodiments, the service engine architecture can utilize, but is not limited to, engines used to develop desktop games or mobile games; any software capable of developing virtual space instances will suffice.

[0055] In an embodiment of the present disclosure, the space management device 110 may include a space scheduling module 111, a space management module 112, and a state synchronization module 113. In some embodiments, the space scheduling module 111 may be used to implement, for example, the determination of space partitioning strategies, scheduling of space partitions, and determination of area information based on a user's specific area of ​​interest. In some embodiments, the space management module 112 may be used to implement, for example, space registration of servers, access to virtual spaces, virtual space partitioning, scene switching of virtual spaces, determination of space information of virtual spaces, and loading of virtual space materials. In some embodiments, the state synchronization module 113 may be used to implement, for example, communication and information exchange with multiple servers to achieve cross-server state synchronization.

[0056] In an embodiment of the present disclosure, a plurality of servers 120-1, 120-2, ..., 120-N may respectively include server parallelization plug-ins 121-1, 121-2, ..., 121-N (hereinafter sometimes collectively referred to as "server parallelization plug-in 121"). In some embodiments, the server parallelization plug-in 121 may be implemented in the form of an SDK (Software Development Kit). In some embodiments, the server parallelization plug-in 121 may include a space application integration SDK and a space management integration SDK. In an embodiment of the present disclosure, the space application integration SDK integrates relevant logic for implementing virtual space applications based on space information, for example, virtual instance creation, virtual instance information update, virtual instance information query, etc. may be implemented. In some embodiments, virtual instance creation may be implemented using a put entity command, for example, when a new user joins a virtual space, a new virtual instance is created for the new user and virtual instance information associated with the newly created virtual instance. In some embodiments, virtual instance information includes, for example, spatial attribute information such as creation point location information, the virtual instance type, and related attribute information. This virtual instance information is superimposed on the virtual instance and sent by the server to the space management device 110 via the spatial application integration SDK to achieve cross-server virtual instance information synchronization. In some embodiments, virtual instance information updates can be implemented using the update entity info command. For example, the virtual instance type, related attribute information, and spatial attribute information of a specific virtual instance can be updated. In some embodiments, spatial attribute information can include spatial position information such as spatial coordinates represented by position (x, y, z), and directional information such as the relative orientation and angle of the virtual instance in space. In some embodiments, virtual instance information queries can be implemented using the get entity info command. For example, for a specific virtual instance or a specific spatial location, virtual instances, virtual space objects, and other content within a specific range surrounding it can be queried. In some embodiments, the retrieved virtual instance information can be presented as an information list. In an embodiment of the present disclosure, the space management integrated SDK integrates relevant logic for the interaction between the management server 120 and the space management device 110, for example, it can realize the submission of application software packages integrated with the SDK, the connection and stop of application programs and distributed space services, and the query of status information of the space management device 110.In some embodiments, submission of an application software package integrated with an SDK can be implemented using the upload app command, connection of an application to a distributed space service can be implemented using the start command, stopping of an application to a distributed space service can be implemented using the stop command, and query of status information of the space management device 110 can be implemented using the describe command. According to an embodiment of the present disclosure, since the status synchronization between the space management device 110 and the server 120 is achieved through a plug-in, cross-server coordination and planning can be achieved without changing the traditional server architecture, thereby jointly supporting the operation of a large virtual space.

[0057] Figure 2A illustrates an example flow chart of a space management method applicable to a space management system according to an embodiment of the present disclosure. As shown in Figure 2A , at block 201, the space management device 110, via the state synchronization module 113, obtains object information associated with multiple users of the multiple clients 130 accessing the virtual space from multiple servers 120 corresponding to the multiple clients 130. At block 203, the space management device 110, via the space management module 112, determines spatial information of the virtual space based on the object information. At block 205, the space management device 110, via the space scheduling module 111, determines, for each of the multiple users, region information associated with an area of ​​interest (AOI) associated with the user, based on the spatial information and the area of ​​interest (AOI) associated with the user, where the area of ​​interest (AOI) includes at least a portion of the virtual space. At block 207, the space management device 110, via the state synchronization module 113, transmits the region information determined for each user to the server corresponding to the user's client. According to some embodiments of the present disclosure, the server may send the region information determined for the user of the client corresponding to the server to the client at block 209. At block 211, the client displays the received region information associated with the region of interest of the user of the client.

[0058] In an embodiment of the present disclosure, the space management device 110 may determine, for each of the multiple servers, multiple zone information items for multiple users associated with the server. The space management device 110 may then determine a set of zone information specific to each server based on the multiple zone information items determined for that server, and send the set of zone information specific to each server to each of the multiple servers at predetermined intervals. This allows centralized acquisition of zone information for each client corresponding to each server, further improving synchronization efficiency.

[0059] In an embodiment of the present disclosure, the object information includes at least one of attribute information of the user's virtual instance, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance. In an embodiment of the present disclosure, the space information includes at least one of environmental configuration information of the entire area of ​​the virtual space, attribute information of the user's virtual instance in the virtual space, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance. In an embodiment of the present disclosure, the area information includes at least one of environmental configuration information within an area range associated with an area of ​​interest in the virtual space, attribute information of the user's virtual instance within an area range associated with an area of ​​interest, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance.

[0060] Figure 2B illustrates a schematic diagram of a virtual space environment applicable to a space management method according to an embodiment of the present disclosure. As shown in virtual space environment 2200 of Figure 2B , space management device 110 obtains object information associated with the user of client 131-1 from server 120-1, which corresponds to client 131-1 accessing virtual space 2000. This object information includes, for example, virtual instance information corresponding to the user of client 131-1 and the location of the virtual instance in virtual space 2000. Furthermore, space management device 110 obtains object information associated with the user of client 132-2 from server 120-2, which corresponds to client 132-2 accessing virtual space 2000. This object information includes, for example, virtual instance information corresponding to the user of client 132-2 and the location of the virtual instance in virtual space 2000. The space management device 110, through the space management module 112, determines spatial information of the virtual space 2000 based on object information associated with the user of client 131-1 and object information associated with the user of client 132-2. This spatial information includes, for example, virtual instance information corresponding to the user of client 131-1 and position information of the virtual instance in virtual space 2000, and virtual instance information corresponding to the user of client 132-2 and position information of the virtual instance in virtual space 2000. The space management device 110, through the space scheduling module 111, determines, for the user of client 131-1, area information associated with an area of ​​interest (AOI-1) associated with the user, based on the spatial information and the area of ​​interest (AOI-1). The area of ​​interest (AOI-1) includes at least a portion of the virtual space. The area information associated with AOI-1 includes, for example, virtual instances (framed in solid lines), such as the virtual instance corresponding to the user of client 131-1 and the virtual instance corresponding to the user of client 132-2, and environmental configuration information such as buildings in the virtual space 2000. The space management device 110, through the space scheduling module 111, determines, for the user of client 132-2, area information associated with the area of ​​interest (AOI-2) based on the space information and the area of ​​interest (AOI-2) associated with the user. The area of ​​interest (AOI-2) includes at least a portion of the virtual space. The area information associated with the area of ​​interest (AOI-2) may include, for example, virtual instances corresponding to the user of client 132-2, as outlined by a single dotted line, virtual instances corresponding to other users, and environmental configuration information such as buildings in the virtual space 2000.Then, the space management device 110 transmits, via the state synchronization module 113, the region information associated with the area of ​​interest (AOI)-1 determined by the user of client 131-1 to the server 120-1 corresponding to the client 131-1, and transmits the region information associated with the area of ​​interest (AOI)-2 determined by the user of client 132-2 to the server 120-2 corresponding to the client 132-2. In response to receiving the region information transmitted from the space management device 110, the server 120-1 transmits the region information determined by the user of client 131-1 to the client 131-1, and the server 120-2 transmits the region information determined by the user of client 132-2 to the client 132-2. In response to receiving the region information from the server 120-1, the client 131-1 displays the received region information associated with the area of ​​interest (AOI)-1, and in response to receiving the region information from the server 120-2, the client 132-2 displays the received region information associated with the area of ​​interest (AOI)-2.

[0061] Figure 2C shows an example flow chart of a space management system according to an embodiment of the present disclosure, and Figure 2D shows another example diagram of a space management system according to an embodiment of the present disclosure. Figures 2C and 2D, corresponding to Figure 2A, illustrate a registration, access, and communication process 2400 of server 120 with space management device 110. As shown in Figure 2C , at block 231, a server-side business engine and server parallelization plug-in 121 are integrated and installed on server 120. In some embodiments, virtual space developers can integrate server parallelization plug-in 121 with the server-side business engine, so that after server 120 completes business logic processing, server parallelization plug-in 121 is invoked to manage object information and synchronize the status of users associated with client 130. In some embodiments, the integrated server-side business engine and server parallelization plug-in 121 are packaged and published to server 120 for installation. At block 233, in response to server 120 booting, server 120 registers with space management system 100. In some embodiments, after server 120 is started, the server parallelization plug-in 121 installed on server 120 is invoked to register the server 120's identifier information with the space management device 110. In some embodiments, the server 120's identifier information may include at least one of the server's IP (Internet Protocol) address, server port number, server application name, and server configuration information. At block 235, server 120 communicates with space management device 110 via server parallelization plug-in 121 to send user object information received from client 130 associated with server 120 to space management device 110, or to receive updated region information or space information from space management device 110. In some embodiments, after server 120 is started and in operation, server 120 obtains or updates space information related to space attributes via server parallelization plug-in 121. At block 237, space management device 110 determines, based on the object information obtained via server parallelization plug-in 121, space information covering the entire object information of multiple servers and region information associated with each of the multiple servers. In some embodiments, the space management device 110 can determine the object information associated with the client corresponding to each server (for example, the user's virtual instance, relevant interaction information of the user's virtual instance, the position, direction, angle, etc. of the user's virtual instance in the virtual space) based on the object information sent by each server received from multiple servers via the server parallelization plug-in 121 to generate area information of each server associated with the client corresponding to each server.In some embodiments, server 120 may send information related to the virtual instance of the user of client 130 corresponding to server 120 (e.g., user information related to the attributes of the virtual instance, spatial information related to the spatial attributes of the virtual instance) to space management device 110. At block 239, server 120 requests region information from space management device 110, causing space management device 110 to send the region information associated with server 120 to server 120. In some embodiments, server 120 requests region information from space management device 110 for the virtual instance of the user associated with client 130 corresponding to server 120, and calculates a video stream for display at client 130 of server 120 based on the obtained region information. Thus, according to embodiments of the present disclosure, since space management device 110 comprehensively manages multiple servers 120 in parallel, and servers 120 and space management device 110 communicate with each other via server parallelization plug-in 121 to synchronize the interaction status and spatial information of the multiple servers, cross-server information sharing and read / write are enabled.

[0062] Figure 2E shows an example sequence diagram of a space management system according to an embodiment of the present disclosure, and Figure 2F shows another example diagram of a space management system according to an embodiment of the present disclosure. Figures 2E and 2F correspond to Figures 2A and 2C and illustrate a communication and status synchronization process 2600 between the client, server 120, and space management device 110. As shown in Figure 2D, at block 251, the client sends object information to the server corresponding to the client. In some embodiments, the client can use the Add Entity command to register a user with the server to create a virtual instance of the user, thereby sending object information including relevant attribute information, relevant interaction information, and so on for the virtual instance of the user. In some embodiments, if the user has completed registration, the client can send object information updated based on the user's latest operations or status to the server. At block 253, the server 120 calls the server parallelization plug-in 121 to read the object information. In some embodiments, the server parallelization plug-in 121 of the server 120 can use the Read Entity Info command to retrieve the object information from the server's server-side business engine to be sent to the space management device 110. At block 255, the server parallelization plug-in 121 sends the user's object information set, which was read from each client 130 corresponding to the server 120, to the space management device 110. In some embodiments, the server parallelization plug-in 121 of the server 120 can use the Create / Update Info command to send newly added object information or updated object information to the space management device 110. At block 257, the server parallelization plug-in 121 sends a request to the space management device 110 to obtain a region information set, so that the space management device 110 sends the updated region information set associated with each client 130 corresponding to the server 120 to the server 120. In some embodiments, the server parallelization plug-in 121 of the server 120 can use the Get Entities command to request the updated region information set associated with each client 130 corresponding to the server 120 from the space management device 110. In some embodiments, the space management device 110 can send a region information set including the region information associated with the server 120 to the server parallelization plug-in 121 of the server 120 in response to the region information obtainment request. In some embodiments, the region information set, as an example of region information, may be presented in the form of a region information list, where the object information list includes region information associated with regions of interest of respective users of the plurality of clients 130 corresponding to the server 120. At block 259, the server parallelization plug-in 121 writes the obtained region information to the server 120.In some embodiments, the server parallelization plug-in 121 of the server 120 can use the Write Entity Info command to write the acquired region information set to the server-side service engine of the server 120. At block 261, based on the written region information, the server 120 updates the region information associated with the area of ​​interest (AOI) of each client 130's user for each client 130 corresponding to the server 120. In some embodiments, after receiving the region information set, the server-side service engine of the server 120 uses the Update AOI command to update the video stream provided to each client 130 based on the area of ​​interest of each client 130's user. In embodiments of the present disclosure, the range of interest can be configured by the user or by default. For example, other virtual instances, environments, or events occurring within a predetermined distance range from the user will be synchronized to the user's client, while content outside the predetermined range is determined to be uninteresting and will not be synchronized to the user's client. At block 263, the server 120 sends the updated region information based on the area of ​​interest (AOI) associated with the client 130's user to the client 130. In some embodiments, the server-side business engine of the server 120 uses the Syn Entity Info command to send the area information of the user of each client 130 to each client 130 to achieve cross-server state synchronization to each client 130. At box 265, the client 130 displays based on the updated area information. In an embodiment of the present disclosure, the business logic of the steps of boxes 253 to box 263 can be executed based on a predetermined time interval. In some embodiments, the predetermined time interval can be determined by the frame rate, which can be executed in a "TICK" manner to represent the number of times the server accepts and calculates each cycle. For example, if the frame rate per second (FPS) is 10 (i.e., 10FPS), it means that the business logic is executed 10 times in 1 second, that is, the business logic is executed once every 100ms. In some embodiments, the client 130 and the server 120 can send object information and obtain area information (i.e., update and query) based on the above-mentioned predetermined time interval. In some embodiments, the server 120 and the space management device 110 can also send object information and obtain area information (i.e., update and query) based on the above-mentioned predetermined time interval. It should be understood that the transmission of object information and the acquisition of area information between the client 130 and the server 120, and between the server 120 and the space management device 110, can be implemented based on all or part of the information. In some embodiments, the client 130 can automatically communicate and interact with the server through automatic execution logic or plug-ins to implement the transmission of object information and the acquisition of area information.For example, the client 130 can use the World->GetPawnIterator command to retrieve all relevant region information from the corresponding server 120. In some embodiments, for user-defined object types, specific types of automatic communication and interaction can be performed based on the user-configured object type. For example, FindObjectOfType can be used. <t>(), based on the object type configured by the user, synchronizes the object information and area information of a specific type. According to an embodiment of the present disclosure, for example, in a virtual space scene such as an exhibition or a concert, automatic synchronization of virtual instance information between the client, server, and space management device can be achieved without the developer actively calling the server parallelization plug-in 121. It should be understood that in the example of Figure 2D, although 131-1, 131-M and server 120-1, and 131N-1 and server 120-N are shown, the number of examples is illustrative and does not constitute any limitation.

[0063] Figure 3A shows an example diagram of a space management system according to an applicable space partitioning strategy of an embodiment of the present disclosure, and Figure 3A shows a process 3100 of associating a server with a virtual space partition. As shown in Figure 3A, in an embodiment of the present disclosure, the space management device 110 can also divide the virtual space into multiple virtual space partitions, and associate one or more virtual space partitions of the multiple virtual space partitions with one or more servers of the multiple servers, so that the server performs computing processing on the one or more virtual space partitions associated with the server. In this way, a single virtual space can be further divided and associated with a server to achieve load balancing across servers. In some embodiments, as a way of dividing the virtual space into multiple virtual space partitions, a horizontal partitioning strategy, a vertical partitioning strategy, or a hybrid partitioning strategy can be adopted.

[0064] Figure 3B shows a schematic diagram of a virtual space environment according to a horizontal partitioning strategy of an embodiment of the present disclosure, Figure 3C shows a schematic diagram of a virtual space environment according to a vertical partitioning strategy of an embodiment of the present disclosure, and Figure 3D shows a schematic diagram of a virtual space environment according to a hybrid partitioning strategy of an embodiment of the present disclosure. In an embodiment of the present disclosure, as a horizontal partitioning strategy, the virtual space can be divided into multiple virtual space partitions based on a preset size of the virtual space partition, wherein the spatial partitioning information of each virtual space partition indicates the object information of users within the area corresponding to the preset size in the virtual space. In some embodiments, the horizontal partitioning strategy can specify the size of each virtual space partition, and configure one or more virtual space partitions divided based on the size of each virtual space partition to the corresponding server. For example, if the horizontal partitioning strategy specifies that each virtual space partition is 10*10 in size, then a 100*100 virtual space is divided into 100 virtual space partitions. One or more of the 100 virtual space partitions can be assigned to different servers, so that a specific server performs computing processing corresponding to the one or more assigned space partitions. Finally, the space management device 110 aggregates the data processed and calculated for each of the 100 virtual space partitions to obtain the overall virtual space data corresponding to the space partition. As shown in FIG3B , virtual space 2000 can be divided into 100 virtual space partitions according to a preset size, wherein server 120-1 is assigned 3 virtual space partitions so that server 120-1 performs computing processing for the 3 virtual space partitions, server 120-2 is assigned 1 virtual space partition so that server 120-2 performs computing processing for the 1 virtual space partition, and server 120-N is assigned 6 virtual space partitions so that server 120-N performs computing processing for the 6 virtual space partitions. In this way, each server is assigned one or more corresponding virtual space partitions, so that the computing processing of virtual space 2000 can be distributed to different servers, and the servers can centrally process the corresponding virtual space partitions, thereby realizing load balancing and overhead optimization while realizing a large virtual space.

[0065] In an embodiment of the present disclosure, as a vertical partitioning strategy, the multiple virtual space partitions can be determined based on the number of copies of the virtual space, wherein the space partitioning information of each virtual space partition indicates the object information of users corresponding to a portion of the number of copies in the virtual space. In some embodiments, the vertical partitioning strategy can specify the number of copies of a space or space partition, and after each copy is configured to a different server for calculation and processing, the space management device 110 aggregates the calculation and processing results of all copies to integrate into complete data. For example, if the vertical partitioning strategy can specify the number of copies of a space partition (i.e., the vertical virtual space partition) as 10, and a number of copies are configured for each of the five servers, then for the virtual space corresponding to the space partition, the virtual instances are dispersed into 10 copies and the corresponding copies are processed separately by the five servers, and finally the space management device 110 aggregates the data processed and calculated for the 10 copies to obtain the overall data of the virtual space corresponding to the space partition. As shown in Figure 3C, virtual space 2000 can be divided into ten replicas 2000-1 through 2000-10 according to a preset size. Server 120-1 is assigned two replicas 2000-1 and 2000-2, allowing server 120-1 to perform computations related to the two replicas. Server 120-2 is assigned one replica 2000-3, allowing server 120-2 to perform computations related to the corresponding replica 2000-3. Server 120-N is assigned one replica 2000-10, allowing server 120-N to perform computations related to the corresponding replica 2000-10. In this way, each server is assigned one or more virtual space partitions, distributing computations related to virtual space 2000 to different servers. This allows servers to fully access the virtual space, achieving load balancing and cost optimization while realizing a large virtual space.

[0066] In an embodiment of the present disclosure, a hybrid partitioning strategy can be formed by combining a horizontal partitioning strategy and a vertical partitioning strategy. As shown in FIG3D , virtual space 2000 can be divided into 10 replicas according to a preset size, and each replica is divided into 100 virtual space partitions according to a preset size. For example, server 120-1 is assigned 2 virtual space partitions in replica 2000-1 and 1 virtual space partition in replica 2000-2, so that server 120-1 performs computing processing on the 2 virtual space partitions in replica 2000-1 and the 1 virtual space partition in replica 2000-2. For example, server 120-2 is assigned four virtual space partitions from replica 2000-1, two virtual space partitions from replica 2000-2, and three virtual space partitions from replica 2000-3, so that server 120-2 performs computational processing on the four virtual space partitions from replica 2000-1, the two virtual space partitions from replica 2000-2, and the three virtual space partitions from replica 2000-3. In a hybrid partitioning strategy, only a horizontal partitioning strategy or a vertical partitioning strategy may be implemented for some of the multiple servers. For example, if server 120-N is assigned replica 2000-M without further virtual space partitioning, server 120-N performs computational processing on the corresponding one replica 2000-M.

[0067] Figure 4A illustrates an example flow chart of a space management method based on a virtual space partitioning strategy according to an embodiment of the present disclosure. As shown in Figure 4A , at block 401, the space management device 110 determines a virtual space partitioning strategy. In some embodiments, the virtual space partitioning strategy may include virtual space partitioning information such as configuration space size and configuration space location, virtual space partitioning rules, space switching rules, and the like. In some embodiments, the virtual space partitioning rules may employ a nine-square grid, an octree, or the like to divide a single virtual space. For example, the space management device 110 may determine the virtual space partitioning strategy based on client-required information. In some embodiments, the space management device 110 may determine the vertical partitioning strategy based on the area of ​​interest (AOI) of the user of client 130. For example, if the users of multiple clients corresponding to each server are roughly evenly distributed within the virtual space 2000, a vertical partitioning strategy may be employed so that each server is allocated one or more replicas of the virtual space based on computing needs. In some embodiments, the space management device 110 may determine the horizontal partitioning strategy based on the positional information of the user of client 130 in the virtual space and the area of ​​interest (AOI) of the user of client 130. For example, if multiple users of multiple clients of a particular server are concentrated in a specific area of ​​the virtual space 2000, a horizontal partitioning strategy can be employed to assign the particular server to a virtual space partition located in the specific area of ​​the virtual space where these users are concentrated. At block 403, the space management device 110 divides the virtual space based on the determined virtual space partitioning strategy to determine multiple virtual space partitions. At block 405, one or more of the determined virtual space partitions are associated with multiple servers, so that each server 120 processes the content of the associated one or more virtual space partitions. At block 407, the space management device 110 obtains processing results for each virtual space partition from the multiple servers 120 and merges the processing results. In some embodiments, the space management device 110 determines spatial information for the entire virtual space through this merging process. At block 409, the space management device 110 distributes the merged processing results to the responding servers, for further transmission to the clients. In some embodiments, the space management device 110 can determine the virtual space partitioning strategy based on the information required by the client, and determine the updated space partitioning information for the virtual space partition associated with each server 120, thereby sending the updated space partitioning information to each server 120 as area information for the server 120.

[0068] In some embodiments, the space management device 110 may update the spatial partitioning information of the virtual space partition associated with the server corresponding to the user's client based on the object information associated with each user, and determine the spatial information of the virtual space based on the updated spatial partitioning information. Figure 4B shows a schematic diagram of a virtual space environment based on virtual space partitioning according to an embodiment of the present disclosure, and Figure 4B shows a virtual space environment 4200 using a horizontal partitioning strategy. As shown in Figure 4B, the space management device 110 may update the spatial partitioning information of the virtual space partition associated with the server 120-1 corresponding to the client 131-1 of the user based on the object information associated with the user of client 131-1, and may update the spatial partitioning information of the virtual space partition associated with the server 120-2 corresponding to the client 132-2 of the user based on the object information associated with the user of client 132-2. The space management device 110 then determines the overall spatial information of the virtual space 2000 based on the updated spatial partitioning information for server 120-1, the updated spatial partitioning information for server 120-2, and the updated spatial partitioning information for other servers. In this way, it is possible to enable the server to update the space partition information associated with its users without requiring the server to handle the entire load of the virtual space.

[0069] In some embodiments, the space management device 110 may determine at least one virtual space partition associated with the area of ​​interest associated with the user based on the space information and the area of ​​interest associated with the user, and determine the area information based on the determined spatial partition information of the at least one virtual space partition. In some embodiments, if a vertical partitioning strategy is employed, the space management device 110 may determine a replica associated with the user's area of ​​interest (AOI) in the virtual space 2000 based on the client 130 user's area of ​​interest (AOI), and then determine the area information for the client 130 user based on the determined replica. In some embodiments, if a horizontal partitioning strategy is employed, the space management device 110 may determine a virtual space partition associated with the user's area of ​​interest (AOI) in the virtual space 2000 based on the client 130 user's position information in the virtual space and the client 130 user's area of ​​interest (AOI), and then determine the area information for the client 130 user based on the determined virtual space partition. As shown in FIG4B , the space management device 110 may update the spatial partition information of the virtual space partition associated with the server 120-1 corresponding to the client 131-1 based on the object information associated with the user of the client 131-1. The spatial partitioning information for the virtual space partition is determined based on the area of ​​interest (AOI)-1 of the user of client 131-1, for example, the 15 virtual space partitions covered by the solid-line frame of AOI-1. The space management device 110 can update the spatial partitioning information for the virtual space partition associated with server 120-2 corresponding to client 132-2 based on object information associated with the user of client 132-2. The spatial partitioning information for the virtual space partition is determined based on the area of ​​interest (AOI)-2 of the user of client 132-2, for example, the 30 virtual space partitions covered by the solid-line frame of AOI-2. The space management device 110 then determines the overall spatial information of the virtual space 2000 based on the updated 15 spatial partitioning information for server 120-1, the updated 30 spatial partitioning information for server 120-2, and the updated spatial partitioning information for other servers. In this way, user-specific area information can be determined based on the user's area of ​​interest and virtual space partitions, further optimizing processing overhead.

[0070] In some embodiments, the space management device 110 may determine at least one of the number of users within the virtual space partition and the sparsity of the virtual space based on the object information associated with each user. The space management device 110 may then divide the virtual space partitions where at least one of the number of users or the sparsity exceeds a predetermined threshold, thereby determining a plurality of second virtual space partitions. The space management device 110 may associate one or more of the plurality of second virtual space partitions with one or more of the plurality of servers. For example, since users can move freely throughout the virtual space, if a large number of users gather in a particular area, the virtual space partition corresponding to that area may experience a high load. Load balancing is achieved by further dividing the highly loaded virtual space partitions based on the number of users within the virtual space partitions and the sparsity of the virtual space, and distributing the load across the servers.

[0071] In some embodiments, the space management device 110 may determine, for each server, the number of regions of interest (ROIs) for users of the client corresponding to that server in each virtual space partition, based on the multiple ROIs associated with the multiple users. In some embodiments, if the number of regions of interest for users of the client corresponding to that server in a particular virtual space partition exceeds a predetermined number, the space management device 110 may associate that particular virtual space partition with that server, causing that server to perform computational processing for that particular virtual space partition. This allows centralized computational processing to be achieved by assigning servers with a greater number of ROIs to corresponding virtual space partitions, thereby optimizing overall overhead across multiple servers.

[0072] In some embodiments, the space management device 110 may determine the region of interest associated with the user based on the position information of the user's virtual instance in the virtual space contained in the user's object information. The space management device 110 may also determine an extended region of interest, larger than the region of interest, based on the region of interest associated with the user. The space management device 110 may determine the region information based on the spatial information and the extended region of interest. For example, the space management device 110 may control the virtual space partition content loaded on a server by controlling the range of spatial information available to the server. For example, if a particular server operates within a range of 0 to 100 meters, the server may only synchronize virtual instance information within the range of 0 to 100 meters. In some embodiments, to take into account viewing angles, virtual instance information within the range of 0 to 120 meters may also be synchronized. This provides information about a region that is more extensive than the user's region of interest, enriching the user's field of view in the virtual space and facilitating rapid response to the user's movement.

[0073] According to the space management system and space management method disclosed in the present invention, it is possible to synchronize status information across servers without changing the architecture of existing distributed servers, thereby supporting a large number of users to be in a single virtual space together, so as to realize real-time interaction among users in large virtual spaces with large scenes.

[0074] Figure 5 shows a schematic block diagram of a space management device according to some embodiments of the present disclosure. In an embodiment of the present disclosure, the space management device 500 includes a space scheduling module 510, a space management module 520, and a state synchronization module 530. In an embodiment of the present disclosure, the state synchronization module 530 is configured to obtain object information associated with multiple users of multiple clients accessing the virtual space from multiple servers corresponding to the multiple clients. The space management module 520 is configured to determine spatial information of the virtual space based on the object information. The space scheduling module 510 is configured to determine, for each of the multiple users, region information associated with the region of interest associated with the region of interest based on the spatial information and the region of interest associated with each user, wherein the region of interest includes at least a portion of the virtual space. Furthermore, the state synchronization module 530 is further configured to send the region information determined for each user to the server corresponding to the client of the user.

[0075] In some embodiments, the space management module 520 is further configured to divide the virtual space into a plurality of virtual space partitions. Furthermore, the space scheduling module 510 is further configured to associate one or more of the plurality of virtual space partitions with one or more of the plurality of servers, so that the server performs computational processing related to the one or more virtual space partitions associated with the server. In this way, a single virtual space can be further divided and associated with servers to achieve load balancing across servers.

[0076] In some embodiments, the space management module 520 is further configured to update the space partition information of the virtual space partition associated with the server corresponding to the client of each user based on the object information associated with the user; and determine the space information of the virtual space based on the updated space partition information. In this way, the server can update the space partition information associated with its users without requiring the server to handle the entire load of the virtual space.

[0077] In some embodiments, the space management module 520 is further configured to divide the virtual space into a plurality of virtual space partitions, including at least one of the following: dividing the virtual space into a plurality of virtual space partitions based on a preset size of the virtual space partition, wherein the space partition information of each virtual space partition indicates the object information of users within the area corresponding to the preset size in the virtual space; or determining the plurality of virtual space partitions based on the number of copies of the virtual space, wherein the space partition information of each virtual space partition indicates the object information of users within the virtual space corresponding to a portion of the number of copies. In this way, the division of the virtual space can be flexibly implemented through a horizontal partitioning strategy, a vertical partitioning strategy, and a hybrid partitioning strategy based on the horizontal partitioning strategy and the vertical partitioning strategy, so as to flexibly implement load distribution accordingly.

[0078] In some embodiments, the spatial scheduling module 510 is further configured to determine, for each server, the number of regions of interest of users of the client corresponding to the server in each virtual space partition based on the multiple regions of interest associated with the multiple users; and if the number of regions of interest of users of the client corresponding to the server in a particular virtual space partition is greater than a predetermined number, associate the particular virtual space partition with the server, so that the server performs computing processing for the particular virtual space partition. In this way, by assigning servers with more regions of interest to corresponding virtual space partitions, centralized computing processing can be achieved, thereby optimizing the overall overhead of multiple servers.

[0079] In some embodiments, the space scheduling module 510 is further configured to determine at least one of the number of users within the virtual space partition and the sparsity of the virtual space based on the object information associated with each user; divide the virtual space partition where at least one of the number of users or the sparsity is greater than a predetermined threshold to determine a plurality of second virtual space partitions; and associate one or more of the plurality of determined second virtual space partitions with one or more of the plurality of servers. In this way, when users are concentrated in a particular area or when there are fewer users in a particular area, dynamic partition adjustment can be performed to further distribute the load pressure.

[0080] In some embodiments, the spatial scheduling module 510 is further configured to determine, based on the spatial information and the region of interest associated with the user, at least one virtual space partition associated with the region of interest; and determine the region information based on the determined spatial partition information of the at least one virtual space partition. In this way, the region information provided to the user can be determined based on the user's region of interest and the virtual space partition, further optimizing processing overhead.

[0081] In some embodiments, the object information includes position information of the user's virtual instance in the virtual space, and the spatial scheduling module 510 is further configured to determine the region of interest associated with the user based on the position information of the user's virtual instance in the virtual space; determine an extended region of interest having a larger area than the region of interest based on the region of interest associated with the user; and determine the region information based on the spatial information and the extended region of interest. In this way, region information that is more extended than the user's region of interest can be provided, thereby enriching the user's field of view in the virtual space and facilitating rapid response to the user's positional movements.

[0082] In some embodiments, the state synchronization module 530 is further configured to determine, for each of the multiple servers, multiple region information for multiple users associated with the server; determine a region information set for each server based on the multiple region information determined for the server; and send the region information set for the server to each of the multiple servers at predetermined time intervals. In this way, the region information for each client corresponding to the server can be centrally obtained on a server-by-server basis, further improving synchronization efficiency.

[0083] In some embodiments, the object information includes at least one of attribute information of the user's virtual instance, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance; the space information includes environmental configuration information of the entire area of ​​the virtual space, attribute information of the user's virtual instance in the virtual space, position information of the user's virtual instance in the virtual space, or at least one of relevant interaction information of the user's virtual instance; and the area information includes environmental configuration information within an area range associated with an area of ​​interest in the virtual space, attribute information of the user's virtual instance within an area range associated with an area of ​​interest, position information of the user's virtual instance in the virtual space, or at least one of relevant interaction information of the user's virtual instance.

[0084] The modules included in the space management device of the space management system are taken as an example of a software functional unit. The space management system and / or the space management device may include code running on a computing instance. The computing instance may be at least one of a physical host (computing device), a virtual machine, a container and other computing devices. Furthermore, the above-mentioned computing devices may be one or more. For example, the space management system and / or the space management device may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the application may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, and each AZ includes one data center or multiple data centers with close geographical locations. Generally, a region may include multiple AZs.

[0085] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0086] As an example of a hardware functional unit, a space management system and / or space management device may include at least one computing device, such as a server. Alternatively, the modules of the space management device may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0087] The multiple computing devices included in the space management system and / or space management apparatus can be distributed in the same region or in different regions. The multiple computing devices included in the space management system and / or space management apparatus can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the space management system and / or space management apparatus can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0088] An embodiment of the present disclosure also provides a computing device 600. FIG6 shows a schematic block diagram of an example device that can be used to implement an exemplary implementation of the present disclosure. As shown in FIG6 , the computing device 600 includes a bus 602, a processor 604, a memory 606, and a communication interface 608. The processor 604, the memory 606, and the communication interface 608 communicate with each other via the bus 602. The computing device 600 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in the computing device 600. The bus 602 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of illustration, FIG6 shows only one line, but this does not mean that there is only one bus or one type of bus. The bus 604 can include a path for transmitting information between the various components of the computing device 600 (e.g., the memory 606, the processor 604, and the communication interface 608). The processor 604 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP). The memory 606 may include a volatile memory, such as a random access memory (RAM). The processor 604 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD). The memory 606 stores executable program code, and the processor 604 executes the executable program code to respectively implement the methods of the spatial scheduling module 610, the spatial management module 620, and the state synchronization module 630 of the aforementioned embodiments of the present disclosure. That is, the memory 606 may store instructions for the methods and functions of any of the above-mentioned embodiments. The communication interface 608 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 600 and other devices or a communication network.

[0089] Embodiments of the present disclosure also provide a computing device cluster 700. FIG7 shows a schematic block diagram of an example device cluster that can be used to implement an exemplary implementation of the present disclosure. A space management system according to an embodiment of the present disclosure is deployed on the computing device cluster 700, which includes at least one computing device 600. In some embodiments, the computing device cluster 700 may include one computing device 600 to implement all or part of the space management system of an embodiment of the present disclosure. In some embodiments, the computing device cluster 700 may include multiple computing devices 600, which may implement all or part of the space management system of an embodiment of the present disclosure synchronously or asynchronously, serially or in parallel, independently or in a distributed manner. The computing devices 600 in the computing device cluster 700 may be servers, such as central servers, edge servers, or local servers in a local data center. In some embodiments, the computing devices may also be terminal devices such as desktop computers, laptop computers, or smartphones. As shown in FIG7 , the computing device cluster 700 includes at least one computing device 600. The memory 606 in one or more computing devices 600 in the computing device cluster 700 may store the same instructions for executing the methods and functions of any of the above embodiments. In some possible implementations, the memory 606 of one or more computing devices 600 in the computing device cluster 700 may also respectively store partial instructions for executing the methods and functions of the embodiments of the present disclosure in any of the above-mentioned embodiments. In other words, a combination of one or more computing devices 600 can jointly execute instructions for the methods and functions of the embodiments of the present disclosure. It should be noted that the memories 606 in different computing devices 600 in the computing device cluster can store different instructions, which are respectively used to execute partial functions of the device 600. That is, the instructions stored in the memories 606 in different computing devices 600 can implement the functions of one or more modules or sub-modules of the space scheduling module 610, the space management module 620 and the state synchronization module 630.

[0090] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network or a local area network, etc. FIG8 shows a schematic block diagram of another example device that can be used to implement an exemplary implementation of the present disclosure, wherein a possible implementation 800 is shown. As shown in FIG8 , two computing devices 600A and 600B are connected via a network 810. The connection method between the computing device clusters shown in FIG8 may be to consider that the method of the present application requires the storage of a large amount of user data and the performance of intensive real-time or near real-time calculations, and therefore consider handing over part of the functions to the computing device 600B for execution. It should be understood that the functions of the computing device 600A shown in FIG8 may also be performed by multiple computing devices 600. Similarly, the functions of the computing device 600B may also be performed by multiple computing devices 600.

[0091] The embodiments of the present disclosure further provide a computer program product including instructions, which may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the methods and functions of any of the above embodiments.

[0092] Embodiments of the present disclosure also provide a computer-readable storage medium, which can be any available medium capable of being stored by a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the methods and functions of any of the above embodiments.

[0093] In general, various embodiments of the present disclosure may be implemented in hardware or dedicated circuitry, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor, or other computing device. Although various aspects of the embodiments of the present disclosure are shown and described as block diagrams, flow charts, or using some other pictorial representation, it should be understood that the blocks, devices, systems, techniques, or methods described herein may be implemented as, by way of non-limiting example, hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or a controller or other computing device, or some combination thereof.

[0094] The present disclosure also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer-executable instructions, such as instructions included in program modules, which are executed in a device on a real or virtual processor of a target to perform the process / method as described above with reference to the accompanying drawings. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. In various embodiments, the functionality of program modules can be combined or divided between program modules as needed. The machine-executable instructions for the program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.

[0095] The computer program code for implementing the disclosed method can be written in one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device so that the program code, when executed by the computer or other programmable data processing device, causes the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or entirely on a remote computer or server.

[0096] In the context of the present disclosure, computer program code or related data may be carried by any suitable carrier to enable a device, apparatus, or processor to perform the various processes and operations described above. Examples of carriers include signals, computer-readable media, and the like. Examples of signals may include electrical, optical, radio, acoustic, or other forms of propagated signals, such as carrier waves, infrared signals, and the like.

[0097] A computer-readable medium may be any tangible medium containing or storing a program for or relating to an instruction execution system, apparatus, or device, or a data storage device such as a data center containing one or more available media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of computer-readable storage media include an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0098] In addition, although the operations of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that these operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can change the order of execution. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps. It should also be noted that the features and functions of two or more devices according to the present disclosure can be embodied in one device. Conversely, the features and functions of a device described above can be further divided into being embodied by multiple devices.

[0099] The various implementations of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those of ordinary skill in the art that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions from the scope of protection of the technical solutions of the various embodiments of the present invention. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope and spirit of the various implementations described. The choice of terms used herein is intended to explain the principles of the various implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.< / t>

Claims

1. A space management method, characterized in that: include: acquiring, from a plurality of servers corresponding to a plurality of clients accessing the virtual space, object information associated with a plurality of users of the plurality of clients; Based on the object information, determining space information of the virtual space; For each of the plurality of users, determining, based on the spatial information and an area of ​​interest associated with each user, area information associated with the area of ​​interest, wherein the area of ​​interest includes at least a portion of the virtual space; as well as The area information determined for each user is sent to a server corresponding to the client of the user.

2. The space management method according to claim 1, characterized in that: Also includes: dividing the virtual space into a plurality of virtual space partitions; as well as One or more of the plurality of virtual space partitions are associated with one or more of the plurality of servers so that the server performs computing processing with respect to the one or more virtual space partitions associated with the server.

3. The space management method according to claim 2, characterized in that: Determining the space information of the virtual space includes: Based on the object information associated with each user, updating space partition information of a virtual space partition associated with a server corresponding to a client of the user; and Based on the updated space partition information, the space information of the virtual space is determined.

4. The space management method according to claim 2, characterized in that: Dividing the virtual space into a plurality of virtual space partitions comprises at least one of the following: Based on a preset size of the virtual space partition, the virtual space is divided into a plurality of virtual space partitions, wherein space partition information of each virtual space partition indicates object information of users within an area within the virtual space corresponding to the preset size; or The plurality of virtual space partitions are determined based on the number of copies of the virtual space, wherein space partition information of each virtual space partition indicates object information of users corresponding to a portion of the number of copies in the virtual space.

5. The space management method according to claim 2, characterized in that: Associating one or more of the plurality of virtual space partitions with one or more of the plurality of servers comprises: Based on the plurality of interest regions associated with the plurality of users, determining, for each server, the number of interest regions of users of the client corresponding to the server on each virtual space partition; and If the number of interest areas of the user of the client corresponding to the server on a specific virtual space partition is greater than a predetermined number, the specific virtual space partition is associated with the server so that the server performs computing processing on the specific virtual space partition.

6. The space management method according to claim 2, characterized in that: Also includes: determining at least one of a number of users within the virtual space partition and a sparsity of the virtual space based on the object information associated with each of the users; Dividing the virtual space partition for which at least one of the number of users and the sparsity is greater than a predetermined threshold, to determine a plurality of second virtual space partitions; as well as One or more of the determined plurality of second virtual space partitions are associated with one or more servers of the plurality of servers.

7. The space management method according to claim 1, characterized in that: Determining the area information associated with the area of ​​interest includes: Based on the spatial information and an area of ​​interest associated with the user, determining at least one virtual space partition associated with the area of ​​interest; and The region information is determined based on the determined space partition information of the at least one virtual space partition.

8. The space management method according to claim 1, characterized in that: The object information includes position information of the virtual instance of the user in the virtual space, and determining the region information associated with the region of interest further includes: Determining the region of interest associated with the user based on position information of the virtual instance of the user in the virtual space; Based on the area of ​​interest associated with the user, determining an extended area of ​​interest having an area range larger than the area of ​​interest; and The region information is determined based on the spatial information and the extended region of interest.

9. The space management method according to claim 1, characterized in that: Sending the area information determined for each user to a server corresponding to the client of the user comprises: For each of the plurality of servers, determining a plurality of zone information of a plurality of users associated with the server; Determine a set of region information for each server for the plurality of region information determined; The region information set for each server is sent to each server in the plurality of servers at a predetermined time interval.

10. The space management method according to any one of claims 1 to 9, characterized in that: The object information includes at least one of attribute information of the user's virtual instance, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance; The space information includes at least one of environment configuration information of the entire area of ​​the virtual space, attribute information of a user's virtual instance in the virtual space, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance; and The area information includes at least one of environmental configuration information within an area range associated with the area of ​​interest in the virtual space, attribute information of a user's virtual instance within an area range associated with the area of ​​interest, position information of the user's virtual instance in the virtual space, or relevant interaction information of the user's virtual instance.

11. A space management method, characterized in that: The space management method is performed by a space management system, the space management system includes a space management device, a plurality of servers communicating with the space management device, and a plurality of clients communicating with each of the plurality of servers and accessing a virtual space, and the space management method includes: At the server, sending object information associated with a plurality of users of the plurality of clients corresponding to the server to the space management device; At the space management device, determining space information of the virtual space based on the object information sent from the plurality of servers; At the space management device, for each of the plurality of users, determining, based on the space information and an area of ​​interest associated with each user, area information associated with the area of ​​interest, wherein the area of ​​interest includes at least a portion of the virtual space; At the space management device, the area information determined for each user is sent to a server corresponding to a client of the user; and At the server, the region information determined for the user of the client corresponding to the server is sent to the client.

12. A space management device, characterized in that: include: A state synchronization module is configured to obtain object information associated with multiple users of the multiple clients from multiple servers corresponding to the multiple clients accessing the virtual space; a space management module, configured to determine space information of the virtual space based on the object information; a spatial scheduling module configured to determine, for each of the plurality of users, region information associated with a region of interest associated with each user based on the spatial information and the region of interest associated with the user, wherein the region of interest includes at least a portion of the virtual space; as well as The state synchronization module is further configured to send the area information determined for each user to a server corresponding to the client of the user.

13. A space management system, characterized in that: include: A space management device configured to perform the method according to claims 1 to 10; a plurality of servers in communication with the space management device; as well as A plurality of clients communicate corresponding to each of the plurality of servers.

14. A computing device cluster, characterized in that: The method comprises at least one computing device, each computing device comprising a processor and a memory, wherein the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 10.

15. A computing device cluster, characterized in that: The system comprises at least one computing device, each computing device comprising a processor and a memory, wherein the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to claim 11.

16. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to any one of claims 1 to 10.

17. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method of claim 11 .

18. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, which, when executed by a computing device cluster, perform the method according to any one of claims 1 to 10.

19. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, which, when executed by a computing device cluster, perform the method of claim 11.

Citation Information

Patent Citations

  • Multiple server organizing method for network game

    CN101005514A

  • Resource object processing method and device, electronic equipment and storage medium

    CN113908531A

  • Virtual character synchronization method and device

    CN115414668A

  • Area of interest subscription

    US10146877B1