Information processing method, related device, equipment and storage medium

By dividing the game map into top-level and bottom-level view grids, and selectively broadcasting information based on the location and region type of virtual objects, the problem of excessive information broadcasting range in large game maps is solved, thereby optimizing device performance and reducing maintenance costs.

CN121588461APending Publication Date: 2026-03-03TENCENT DIGITAL (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411117646.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In large game maps, the information broadcasting range of virtual objects is too large, resulting in excessive consumption of device performance, which is difficult to control effectively with existing technology.

Method used

By dividing the map into top-level and bottom-level view grids, information is selectively broadcast based on the location and region type of virtual objects, spreading information only in necessary cells.

Benefits of technology

It effectively controls the broadcast range, reduces device performance consumption, improves game running efficiency, has low maintenance costs, and simple logic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121588461A_ABST
    Figure CN121588461A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method, a related device, equipment and a storage medium, and is applied to the field of map processing. The method comprises the steps of obtaining first object information corresponding to a target virtual object at a first moment, wherein the first object information at least comprises first position information of the target virtual object; k cells are obtained according to the first position information, the K cells comprise at least one of top-layer cells and bottom-layer cells, the top-layer cells belong to cells in a top-layer view grid, the top-layer view grid is obtained by dividing based on an original map, the bottom-layer cells belong to cells in a bottom-layer view grid, and the bottom-layer view grid is obtained by dividing based on the original map; the bottom-layer view grid is obtained based on top-layer cell division; and broadcasting the first object information according to the K cells. According to the invention, the implementation logic is simple, the maintenance cost is relatively low, and the broadcast range can be effectively controlled, so that the consumption of equipment performance is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an information processing method, related apparatus, device, and storage medium. Background Technology

[0002] During game development, different maps need to be created for different scenarios. With advancements in hardware capabilities, game developers are creating increasingly sophisticated and larger maps. A player's field of vision on a large map is crucial, affecting not only strategic decisions and resource acquisition but also playing a key role in combat.

[0003] In related technologies, a nine-grid view management strategy can be adopted for large maps. Since each cell requires a certain amount of memory, to solve the problem of excessive memory consumption caused by increasing the number of cells, the current approach is to increase the cell size while keeping the number of cells constant.

[0004] However, the inventors discovered that the current solution has at least the following problem: if the virtual object moves or engages in combat, its information needs to be broadcast to the surrounding eight cells. This results in a very large broadcast range, significantly impacting device performance. Therefore, an effective method is urgently needed to solve this problem. Summary of the Invention

[0005] This application provides an information processing method, related apparatus, device, and storage medium, which not only has simple implementation logic and low maintenance costs, but also effectively controls the broadcast range, thereby reducing the consumption of device performance.

[0006] In view of this, this application provides an information processing method, comprising:

[0007] Obtain the first object information corresponding to the target virtual object at the first moment, wherein the first object information includes at least the first position information of the target virtual object, and the first position information is used to describe the first position of the target virtual object in the original map;

[0008] K cells are obtained based on the first location information. The K cells include at least one of the top-level cells and the bottom-level cells. The top-level cells belong to the cells in the top-level view grid, which is obtained based on the original map. The bottom-level cells belong to the cells in the bottom-level view grid, which is obtained based on the top-level cells. K is an integer greater than 1.

[0009] Broadcast the information of the first object based on K cells.

[0010] Another aspect of this application provides an information processing apparatus, comprising:

[0011] The acquisition module is used to acquire the first object information corresponding to the target virtual object at the first moment, wherein the first object information includes at least the first position information of the target virtual object, and the first position information is used to describe the first position of the target virtual object in the original map;

[0012] The determination module is used to obtain K cells based on the first location information. The K cells include at least one of the top-level cells and the bottom-level cells. The top-level cells belong to the cells in the top-level view grid, which is obtained based on the original map. The bottom-level cells belong to the cells in the bottom-level view grid, which is obtained based on the top-level cells. K is an integer greater than 1.

[0013] The broadcast module is used to broadcast information about the first object based on K cells.

[0014] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0015] The determination module is specifically used to determine the target area where the target virtual object is located at the first moment based on the first location information. The original map includes a first area and a second area. The target area belongs to the first area or the second area. The field of view of the first area is greater than that of the second area.

[0016] Determine K cells based on the target area.

[0017] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0018] The determination module is specifically used to, when the target area is the first area, take the top-level cell where the first position is located as the center, and obtain the surrounding N top-level cells from the top-level view grid, where N is an integer greater than 1;

[0019] If the N top-level cells do not include the top-level cells that are divided into the bottom-level view grid, then the top-level cell where the first position is located and the N top-level cells are taken as the K cells.

[0020] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0021] The determination module is specifically used to, when the target area is the first area, take the top-level cell where the first position is located as the center, and obtain the surrounding N top-level cells from the top-level view grid, where N is an integer greater than 1;

[0022] If N top-level cells include at least one top-level cell that is divided into the bottom-level view grid, then K cells are determined based on at least one top-level cell, wherein the K cells include the top-level cell where the first position is located and each top-level cell that is not divided into the bottom-level view grid.

[0023] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0024] The determination module is specifically used to obtain T bottom cells belonging to the bottom view grid based on the bottom view grid corresponding to each top cell in at least one top cell, where T is an integer greater than 1;

[0025] The top-level cell containing the first position, all top-level cells that are not divided into bottom-level view grids, and T bottom-level cells are taken as K cells.

[0026] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0027] The determination module is specifically used to obtain T bottom cells belonging to the bottom view grid based on the bottom view grid corresponding to each top cell in at least one top cell, where T is an integer greater than 1;

[0028] From the T bottom cells, determine the bottom cell containing the object to be broadcast, to obtain Q bottom cells, where Q is an integer greater than or equal to 1 and less than or equal to T;

[0029] The top-level cell containing the first position, all top-level cells that are not divided into the bottom-level view grid, and Q bottom-level cells are taken as K cells.

[0030] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0031] The determination module is specifically used to determine the field of view perception range based on the object type corresponding to the target virtual object. The field of view perception range is the field of view range that the target virtual object can be perceived by other virtual objects.

[0032] Centered on the top-level cell where the first position is located, obtain N surrounding top-level cells from the top-level field-of-view grid according to the field of view perception range.

[0033] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0034] The determination module is specifically used to determine the underlying view grid to which the bottom cell where the first position is located belongs if the bottom cell where the first position is located does not belong to the edge bottom cell when the target area is the second area.

[0035] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where the edge bottom cells are the bottom cells adjacent to the top cell, and M is an integer greater than 1;

[0036] The bottom cell containing the first position and the M bottom cells are taken as K cells.

[0037] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0038] The determination module is specifically used to determine the underlying view grid to which the bottom cell where the first position is located belongs if the bottom cell where the first position is located is an edge bottom cell when the target area is the second area.

[0039] Use the top-level cell corresponding to the bottom-level view grid as the target top-level cell;

[0040] Centered on the target top-level cell, obtain S surrounding top-level cells from the top-level view grid, where S is an integer greater than or equal to 1;

[0041] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where M is an integer greater than 1;

[0042] The bottom cell containing the first position, the S top cells, and the M bottom cells are designated as the K cells.

[0043] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0044] The determination module is specifically used to determine the field of view perception range based on the object type corresponding to the target virtual object. The field of view perception range is the field of view range that the target virtual object can be perceived by other virtual objects.

[0045] Centered on the bottom cell where the first position is located, obtain M surrounding bottom cells from the bottom field grid according to the field of view perception range.

[0046] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0047] The acquisition module is also used to acquire the second object information corresponding to the target virtual object at the second time after broadcasting the first object information based on K cells. The second object information includes at least the second position information of the target virtual object, which describes the second position of the target virtual object in the original map.

[0048] The determination module is also used to determine R cells based on the second position information, wherein the R cells include at least one of the top-level cell and the bottom-level cell, and R is an integer greater than 1;

[0049] The broadcast module is also used to broadcast second object information to each of the R cells.

[0050] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0051] The acquisition module is specifically used to acquire the second object information corresponding to the target virtual object at the second moment when the preset time is reached, wherein the difference between the second moment and the first moment is equal to the preset time.

[0052] or,

[0053] When a change in the first object information of the target virtual object is detected, the second object information corresponding to the target virtual object at the second time moment is obtained.

[0054] In another aspect, this application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the methods described above.

[0055] Another aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the methods described above.

[0056] Another aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the methods described above.

[0057] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0058] This application provides an information processing method. After obtaining the first location information of a target virtual object, K cells are obtained based on the first location information. Based on this, the first object information of the target virtual object is broadcast to the K cells. The K cells may include only the top-level cell, only the bottom-level cell, or both. The top-level cell belongs to the top-level view grid, and the bottom-level cell belongs to the bottom-level view grid. Since the top-level view grid is obtained based on the original map, and the bottom-level view grid is obtained based on the top-level cells, this method allows for differentiated management of cells of different sizes by maintaining only the original map. This is not only logically simple and has low maintenance costs, but also effectively controls the broadcast range, thereby reducing the consumption of device performance. Attached Figure Description

[0059] Figure 1 This is a schematic diagram of an implementation environment for the information processing method in this application.

[0060] Figure 2 This is a schematic diagram of a nautical map in an embodiment of this application;

[0061] Figure 3 This is a set of schematic diagrams showing how the movement of virtual objects causes a refresh of the field of view in an embodiment of this application;

[0062] Figure 4 This is a schematic diagram illustrating the view of the sea surface in an embodiment of this application;

[0063] Figure 5 This is a schematic diagram illustrating the effect of the island's view in an embodiment of this application;

[0064] Figure 6 This is a flowchart illustrating an information processing method in an embodiment of this application;

[0065] Figure 7 This is a schematic diagram illustrating the relationship between the top-level view and the bottom-level view in an embodiment of this application;

[0066] Figure 8 This is a schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application;

[0067] Figure 9 This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application;

[0068] Figure 10 This is a schematic diagram illustrating the determination of the field of view perception range based on object type in an embodiment of this application;

[0069] Figure 11This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application;

[0070] Figure 12 This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application;

[0071] Figure 13 This is another schematic diagram illustrating the determination of the field of view perception range based on object type in an embodiment of this application;

[0072] Figure 14 This is a schematic diagram of an information processing device in an embodiment of this application;

[0073] Figure 15 This is a schematic diagram of the structure of a computer device in an embodiment of this application. Detailed Implementation

[0074] This application provides an information processing method, related apparatus, device, and storage medium, which not only has simple implementation logic and low maintenance costs, but also effectively controls the broadcast range, thereby reducing the consumption of device performance.

[0075] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “corresponding,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0076] It is understood that, in the specific embodiments of this application, user information and related data require user permission or consent before being used in specific products or technologies. That is, before collecting user data, users may be notified through prompts, pop-ups, or voice prompts. The process of collecting user data only begins after obtaining user permission or consent. In other words, all user data collected in this application is collected with the user's consent, and the collection, use, and processing of this data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0077] In game applications, map scene management is a crucial aspect, involving the effective handling of various virtual objects within the game (e.g., game characters, items, obstacles, environment, etc.). To achieve efficient scene management and optimize game performance, game maps are typically divided into a grid format. This division facilitates the following functionalities:

[0078] (1) By dividing the map into a grid, each cell in the grid can contain virtual objects. This allows for quick determination of which objects need to be rendered or processed by traversing the grid, thereby improving the game's running efficiency.

[0079] (2) If a cell is removed (for example, the character is not in the cell), then all objects in that cell will no longer be displayed, thereby further optimizing performance.

[0080] (3) Virtual objects in the same space, such as characters and obstacles, can be collision detected within their respective cells, avoiding the large amount of computation required for global detection.

[0081] (4) By dividing the game into grids, game resources can be managed more effectively. For example, based on the location of virtual objects, it can be determined which resources need to be loaded and how to optimize the resource loading process.

[0082] (5) Grid partitioning also helps optimize broadcast communication. By assigning players and non-player characters (NPCs) to different cells, the number of people who need to send messages can be reduced, thereby improving communication efficiency.

[0083] Currently, to provide a more immersive gaming experience, enrich game content, and increase the fun of exploration, more and more games are designing large maps. Some related technologies keep the cell size constant and expand the map size simply by increasing the number of cells. However, this method leads to a rapid increase in memory consumption. Other related technologies expand the cell size while keeping the number of cells constant, thus expanding the map size. However, this method also leads to a dramatic increase in the broadcast range when virtual objects are concentrated in a specific area, causing unbearable strain on device performance. Still other related technologies divide different types of areas in the map into multiple map instances, with some areas using larger cells and others using smaller cells. However, maintaining the consistency of the state of multiple map instances requires significant effort, and complex multi-object transaction processing is involved when virtual objects move across map domains.

[0084] Based on this, this application provides a map information processing method that, without increasing memory and bandwidth consumption, fully guarantees a good user experience during application use, and effectively saves hardware and bandwidth costs. Thus, it overcomes the problem of excessive memory and bandwidth consumption faced by existing technologies when processing large maps, bringing users a smoother and more economical experience.

[0085] The method provided in this application can be applied to... Figure 1 The illustrated implementation environment includes a terminal 110 and a server 120, and the terminal 110 and server 120 can communicate with each other via a communication network 130. The communication network 130 uses standard communication technologies and / or protocols, typically the Internet, but can also be any network, including but not limited to Bluetooth, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), mobile, private networks, or any combination of virtual private networks. In some embodiments, customized or dedicated data communication technologies may be used to replace or supplement the aforementioned data communication technologies.

[0086] The terminal 110 involved in this application includes, but is not limited to, mobile phones, tablets, laptops, desktop computers, smart voice interaction devices, virtual reality devices, smart home appliances, vehicle terminals, and aircraft. The client is deployed on the terminal 110 and can run on the terminal 110 via a browser, a standalone application (APP), or a mini-program.

[0087] The server 120 involved in this application can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence (AI) platforms. The server 120 can provide service software programs with data computation, verification, storage, and forwarding functions, and the application developer must ensure its stable operation and normal service functions.

[0088] In the above implementation environment, in step S1, the user triggers a relevant operation on the target virtual object (e.g., movement, switching items, etc.) through terminal 110, and terminal 110 sends the corresponding operation instruction to server 120 through communication network 130. In step S2, server 120 obtains the object information of the target virtual object at the current moment based on the operation instruction. In step S3, server 120 determines K cells based on the location information included in the object information and the grid division method provided in this application. In step S4, server 120 determines each terminal to be notified based on the K cells. Taking a virtual object controlled by N terminals within K cells as an example, in step S5, server 120 determines which N terminals it prefers to broadcast the relevant information of the target virtual object. In step S6, the N terminals update the relevant information of the target virtual object respectively.

[0089] Before introducing the specific methods of this application, the application scenarios of the information processing methods in this application will be illustrated by example. It should be understood that the following application scenarios are merely illustrative and are not limited to these examples.

[0090] In some embodiments, the information processing method described in this application can be applied to the field of game maps. For example, a nautical gameplay element is designed into a game, where players can perform related operations on a large game map (e.g., a nautical map). For instance, a typical game map is 4 kilometers (km) x 4km, while a large game map can reach 64km x 64km. It is evident that a large game map is 256 times larger than a typical game map. For further understanding, please refer to... Figure 2 , Figure 2 This is a schematic diagram of a nautical map in an embodiment of this application. As shown in the figure, 210 indicates the ocean, and 220 indicates islands in the ocean. It can be seen that the nautical map includes navigable sea surfaces and multiple islands. Players can move and fight on the islands and drive ships on the sea. Players on islands can see ships on the sea, and players on ships can see players on islands. Actions on the sea and islands must be mutually visible.

[0091] For nautical maps using a nine-grid view management strategy, please refer to [link / reference]. Figure 3 , Figure 3 This is a set of schematic diagrams illustrating how the movement of virtual objects causes a refresh of the field of view in an embodiment of this application, such as... Figure 3As shown in diagrams (A) to (F), the virtual object moves from position 310 to position 320. The nine-square grid centered on the player represents the player's field of vision. On the island, cells with sides of 50 meters (m) are used; therefore, the player's field of vision is 150 meters (m) * 150 meters. On the sea, considering the vast ocean and large ships, cells with sides of 1 kilometer can be used; therefore, the player's field of vision is 9 kilometers. Figure 4 As shown, when the virtual object is on a ship at sea, it can see a vast expanse of ocean. Figure 5 As shown, when the virtual object is located at the edge of the island, a vast sea can also be seen.

[0092] Based on the method provided in this application, the nautical map is divided into top-level cells with sides of 1km, and these top-level cells, including islands, are further divided into several bottom-level cells, thereby obtaining high-precision, small-view islands and low-precision, large-view sea surfaces. It is evident that virtual objects can use cells of different sizes in different areas, thus enabling the broadcast of relevant information about the virtual object to the corresponding cells based on its current location.

[0093] In some embodiments, the information processing method described in this application can also be applied to street view navigation. For example, after a user activates the navigation function on their terminal, they can use street view navigation to understand their surroundings. When a user is on a street, their field of view is relatively large. When a user is inside a building, their field of view is relatively small. Based on the method provided in this application, the street view map is divided into top-level cells, and the top-level cells, including buildings, are further divided into several bottom-level cells, thereby obtaining high-precision, small-field-of-view buildings and low-precision, large-field-of-view street areas. Users can use cells of different sizes in different areas, thus enabling the loading of corresponding cells based on the user's current location.

[0094] Based on the above introduction, the information processing method in this application will be described below. Please refer to [link / reference]. Figure 6 The information processing method in this application embodiment can be completed independently by the server, independently by the terminal, or jointly by the terminal and the server. Specifically, this application includes:

[0095] 610. Obtain the first object information corresponding to the target virtual object at the first moment, wherein the first object information includes at least the first position information of the target virtual object, and the first position information is used to describe the first position of the target virtual object in the original map;

[0096] In one or more embodiments, a computer device acquires first object information of a target virtual object at a first moment. Taking a game application as an example, the target virtual object can be a virtual object controlled by a player (e.g., a game character). The first object information includes the first location information of the target virtual object; for example, the first location information can be represented as latitude and longitude coordinates, or as pixel coordinates, etc. Based on this, the computer device can determine the first location of the target virtual object in the original map according to the first location information.

[0097] It should be noted that in networked applications (e.g., multiplayer online games), the computer device can be a server. In offline applications (e.g., single-player games), the computer device can be a terminal, and therefore no limitation is made here. Furthermore, the player in this application can be a real player or a device with AI capabilities.

[0098] 620. Determine K cells based on the first location information, wherein the K cells include at least one of the top-level cells and the bottom-level cells, the top-level cells are cells in the top-level view grid, the top-level view grid is obtained based on the original map, the bottom-level cells are cells in the bottom-level view grid, the bottom-level view grid is obtained based on the top-level cells, and K is an integer greater than 1;

[0099] In one or more embodiments, the computer device divides the original map into view areas, thereby obtaining a top-level view grid with a large view area and low precision, and a bottom-level view grid with a small view area and high precision. Based on this, the computer device first determines the target area where the target virtual object is located according to the first location of the target virtual object, then determines the view type according to the type of the target area, and finally selects K cells according to the view type.

[0100] Specifically, for ease of understanding, please refer to Figure 7 , Figure 7 This is a schematic diagram illustrating the relationship between the top-level view and the bottom-level view in an embodiment of this application. As shown in the figure, assuming the original map includes a first region (e.g., sea surface) and a second region (e.g., island), the entire original map is divided into multiple top-level cells according to the view range of the first region, that is, a top-level view grid with the same size as the original map is obtained. Figure 7 The top-level view can consist of nine top-level cells. If a top-level cell covers a second region, it is further subdivided to obtain smaller bottom-level cells, which together form a bottom-level view grid. Figure 7 The bottom layer view in the game can be composed of 9 bottom layer cells.

[0101] It should be noted that in practical applications, more fields of view can be divided based on the original map, resulting in more layers of field of view grids. The higher the layer of the field of view grid, the larger the corresponding field of view, and the larger the corresponding cell size. This application uses a two-layer field of view grid as an example, but this should not be construed as a limitation of this application.

[0102] 630. Broadcast the information of the first object based on K cells.

[0103] In one or more embodiments, after determining K cells that can be broadcast, the computer device may, in one manner, broadcast the first object information to each of the K cells. Alternatively, it may first determine the virtual objects to be notified from the K cells (e.g., virtual objects controlled by other players, NPCs, etc.), and then broadcast the first object information only to the cells containing those virtual objects.

[0104] Taking game applications as an example, the first object information may include not only the first location information, but also the target virtual object's attribute information (e.g., health points) and equipment information (e.g., the type of game equipment used) at the first moment.

[0105] This application provides an information processing method. Using this method, differentiated management of cells of different sizes can be achieved simply by maintaining the original map. This approach is not only logically simple and has low maintenance costs, but also effectively controls the broadcast range, thereby reducing the consumption of device performance.

[0106] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells according to the first location information may specifically include:

[0107] The target area where the target virtual object is located at the first moment is determined based on the first location information. The original map includes a first area and a second area. The target area belongs to the first area or the second area. The field of view of the first area is greater than that of the second area.

[0108] Determine K cells based on the target area.

[0109] In one or more embodiments, a method for determining K cells based on a target region is described. As can be seen from the foregoing embodiments, the original map includes different types of regions, each with a different field of view. Therefore, it is necessary to determine the target region where the target virtual object is located, and then obtain K broadcastable cells based on the target region.

[0110] Specifically, taking an original map comprising a first and a second area as an example, and employing a nine-grid view management strategy, virtual objects within the first area are managed by the top-level view, thus their view range consists of nine top-level cells. Virtual objects in the second area have both top-level and bottom-level views, managed by the bottom-level view. Various view-related actions (e.g., broadcasting, enemy detection) require view selection based on the player's target area. For example, if the player-controlled target virtual object is in the second area, it is held by the bottom-level view; therefore, the broadcast range is the bottom nine-grid (i.e., nine bottom-level cells). Conversely, if the player-controlled target character is in the first area, it is only held by the top-level view; therefore, the broadcast range is the top nine-grid (i.e., nine top-level cells).

[0111] Secondly, this application provides a method for determining K cells based on a target area. This method fully considers the different field of view ranges of virtual objects in different areas, thus enabling users to obtain a more realistic view and providing a more realistic experience.

[0112] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells according to the target area may specifically include:

[0113] If the target area is the first area, take the top cell where the first position is located as the center, and obtain the surrounding N top cells from the top view grid, where N is an integer greater than 1;

[0114] If the N top-level cells do not include the top-level cells that are divided into the bottom-level view grid, then the top-level cell where the first position is located and the N top-level cells are taken as the K cells.

[0115] In one or more embodiments, a method for determining K cells is described. As can be seen from the foregoing embodiments, if the first position of the target virtual object indicates that the target virtual object is in a first region, then the target region is determined to be the first region. Based on this, the following uses a nine-grid view management strategy as an example to illustrate the specific implementation method for determining K cells.

[0116] Specifically, for ease of understanding, please refer to Figure 8 , Figure 8This is a schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application. As shown in the figure, 810 indicates a second region (e.g., an island), and the remaining region (e.g., the sea surface) is the first region. 820 indicates a target virtual object. Based on the first position of the target virtual object, it can be determined that the target virtual object is within the first region and located in the top-level cell indicated by 830. Therefore, with the top-level cell indicated by 830 as the center, based on the nine-grid view management strategy, eight surrounding top-level cells (where N equals 8) can be obtained from the top-level view grid. It is worth noting that these eight top-level cells are not divided into bottom-level view grids; that is, these eight top-level cells all belong to the cells within the top-level view.

[0117] Therefore, the 9 top-level cells indicated by 840 (i.e., the top-level cell indicated by 830 and the 8 top-level cells) are taken as K cells. In this case, K equals 9.

[0118] Furthermore, this application embodiment provides a method for determining K cells. Using this method, if the second region is not included within the field of view corresponding to the first position of the target virtual object, then the underlying field of view does not need to be considered. Therefore, the requirement for the field of view can be met, thereby improving the realism of the field of view effect.

[0119] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells according to the target area may specifically include:

[0120] If the target area is the first area, take the top cell where the first position is located as the center, and obtain the surrounding N top cells from the top view grid, where N is an integer greater than 1;

[0121] If N top-level cells include at least one top-level cell that is divided into the bottom-level view grid, then K cells are determined based on at least one top-level cell, wherein the K cells include the top-level cell where the first position is located and each top-level cell that is not divided into the bottom-level view grid.

[0122] In one or more embodiments, another method for determining K cells is described. As can be seen from the foregoing embodiments, if the first position of the target virtual object indicates that the target virtual object is in the first region, then the target region is determined to be the first region. Based on this, the following uses a nine-grid view management strategy as an example to illustrate the specific implementation method for determining K cells.

[0123] Specifically, for ease of understanding, please refer to Figure 9 , Figure 9This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application. As shown in the figure, 910 is used to indicate a second region (e.g., an island), and the remaining region (e.g., the sea surface) is the first region. 920 is used to indicate a target virtual object. Based on the first position of the target virtual object, it can be determined that the target virtual object is within the first region and located in the top-level cell indicated by 930. Therefore, with the top-level cell indicated by 930 as the center, based on the nine-grid view management strategy, the surrounding eight top-level cells (at this time, N equals 8) can be obtained from the top-level view grid.

[0124] It is worth noting that these 8 top-level cells include one top-level cell that is divided into the bottom-level view grid (i.e., the top-level cell indicated by 940). Therefore, based on the top-level cell where the first position is located, each top-level cell that is not divided into the bottom-level view grid, and each top-level cell that is divided into the bottom-level view grid, K cells are determined.

[0125] To ensure that a target virtual object moving within the first area can be seen by virtual objects in the second area, a top-level proxy object (as indicated by 950) can be constructed in the top-level cell indicated by 940. This top-level proxy object can be understood as a message receiving device for the lower-level view grid, used to receive event messages occurring within the top-level view grid.

[0126] Therefore, when a virtual object moves within the top-level view grid, a movement event message is broadcast to the top-level proxy object. The top-level proxy object then forwards the movement event message to virtual objects within the bottom-level view grid, allowing these virtual objects to be aware of the actions of virtual objects within the top-level view grid in real time. The top-level proxy object uses a one-way proxy mechanism, meaning that event messages are passed from the top level to the bottom level.

[0127] Furthermore, this application provides another method for determining the K cells. Using the above method, if the first location of the target virtual object determines that its corresponding field of view includes a second region, then the underlying field of view needs to be considered. Based on this, it is possible to achieve the effect of making virtual objects in the first region visible from the second region without increasing memory and bandwidth consumption.

[0128] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells based on at least one top-level cell may specifically include:

[0129] Based on the underlying view grid corresponding to each top-level cell in at least one top-level cell, obtain T bottom-level cells belonging to the underlying view grid, where T is an integer greater than 1;

[0130] The top-level cell containing the first position, all top-level cells that are not divided into bottom-level view grids, and T bottom-level cells are taken as K cells.

[0131] In one or more embodiments, a method for broadcasting first object information is described. As can be seen from the foregoing embodiments, after determining that N top-level cells include at least one top-level cell that is divided into a bottom-level view grid, broadcastable bottom-level cells are further determined from the bottom-level view grid corresponding to the top-level cell.

[0132] Specifically, for better understanding, please refer to [the relevant documentation / reference]. Figure 9 The second region indicated by 910 (e.g., an island) is divided into top-level cells indicated by 940, where the top-level cell indicated by 940 is one of N top-level cells. Based on this, the top-level cell indicated by 940 can be divided into a bottom-level view grid consisting of multiple bottom-level cells. The bottom-level view grid shown in the figure includes 20 bottom-level cells (i.e., 5*4 bottom-level cells). The computer device acquires T bottom-level cells belonging to the bottom-level view grid, where T equals 20.

[0133] Therefore, the top-level cell containing the first position (i.e., the top-level cell indicated by 930), the 7 top-level cells not divided into the bottom-level view grid, and the 20 bottom-level cells are taken as K cells. In this case, K equals 28.

[0134] Furthermore, this application embodiment provides a method for broadcasting first object information. Using this method, the first object information can be broadcast to each of the K cells. This ensures the uniformity and comprehensiveness of information coverage, thereby facilitating the design of more global gameplay mechanics.

[0135] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells based on at least one top-level cell may specifically include:

[0136] Based on the underlying view grid corresponding to each top-level cell in at least one top-level cell, obtain T bottom-level cells belonging to the underlying view grid, where T is an integer greater than 1;

[0137] From the T bottom cells, determine the bottom cell containing the object to be broadcast, to obtain Q bottom cells, where Q is an integer greater than or equal to 1 and less than or equal to T;

[0138] The top-level cell containing the first position, all top-level cells that are not divided into the bottom-level view grid, and Q bottom-level cells are taken as K cells.

[0139] In one or more embodiments, another method for broadcasting first object information is described. As can be seen from the foregoing embodiments, after determining that N top-level cells include at least one top-level cell that is divided into a bottom-level view grid, broadcastable bottom-level cells are further determined from the bottom-level view grid corresponding to the top-level cell.

[0140] Specifically, for better understanding, please refer to [the relevant documentation / reference]. Figure 9 The second region indicated by 910 (e.g., an island) is divided into top-level cells indicated by 940, where the top-level cell indicated by 940 is one of N top-level cells. Based on this, the top-level cell indicated by 940 can be divided into a bottom-level view grid composed of multiple bottom-level cells. The bottom-level view grid shown in the figure includes 20 bottom-level cells (i.e., 5*4 bottom-level cells). The computer device acquires T bottom-level cells belonging to the bottom-level view grid, where T equals 20. Here, 960 is used to indicate the broadcast object A (e.g., a virtual object controlled by the player), and 970 is used to indicate the broadcast object B (e.g., an NPC). Thus, from the T bottom-level cells, the bottom-level cell containing the broadcast object A and the bottom-level cell containing the broadcast object B are acquired, resulting in 2 bottom-level cells, where Q equals 2.

[0141] Therefore, the top-level cell containing the first position (i.e., the top-level cell indicated by 930), the seven top-level cells not divided into the bottom-level view grid, and the two bottom-level cells are taken as K cells. In this case, K equals 10.

[0142] Furthermore, in this embodiment, another method for broadcasting first object information is provided. Through this method, the computer device can broadcast only to the underlying cells containing the virtual object, thereby saving the resources required for broadcasting and further reducing device performance and network traffic consumption.

[0143] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, taking the top-level cell where the first position is located as the center, N surrounding top-level cells are obtained from the top-level view grid, which may specifically include:

[0144] The field of view perception range is determined based on the object type corresponding to the target virtual object. The field of view perception range is the field of view range within which the target virtual object is perceived by other virtual objects.

[0145] Centered on the top-level cell where the first position is located, obtain N surrounding top-level cells from the top-level field-of-view grid according to the field of view perception range.

[0146] In one or more embodiments, a method for determining the field of view perception range based on object type is described. As can be seen from the foregoing embodiments, in game applications, different field of view perception ranges can be set for different object types. For example, the field of view perception range of an archer is 5*5 (i.e., using a 25-grid field of view management strategy), and for another example, the field of view perception range of a warrior is 3*3 (i.e., using a 9-grid field of view management strategy).

[0147] Specifically, for ease of understanding, please refer to Figure 10 , Figure 10 This is a schematic diagram illustrating the determination of the field of view perception range based on object type in an embodiment of this application, as shown below. Figure 10 As shown in Figure (A), 1010 is used to indicate the top-level cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 3*3, then the bolded cell indicated by 1020 is the N surrounding top-level cells. In this case, N equals 8.

[0148] like Figure 10 As shown in Figure (B), 1010 is used to indicate the top-level cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 5*5, then the bolded cell indicated by 1030 is the N surrounding top-level cells. In this case, N equals 24.

[0149] like Figure 10 As shown in Figure (C), 1010 is used to indicate the top-level cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 4*3, then the bolded cell indicated by 1040 is the N surrounding top-level cells. In this case, N equals 11.

[0150] like Figure 10 As shown in Figure (D), 1010 is used to indicate the top-level cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is irregular, the bold cell indicated by 1050 is the N surrounding top-level cells. In this case, N equals 10.

[0151] In practical applications, other types of field-of-view management strategies can also be adopted, such as a 16-grid field-of-view management strategy, a 3x2 grid field-of-view management strategy, or other field-of-view management strategies. Simultaneously, the field-of-view perception range can be set to a circle, or a fan-shaped range to capture other shapes; the specific strategy depends on the requirements.

[0152] Furthermore, this application provides a method for determining the field of view perception range based on object type. Using this method, different types of virtual objects in the game map can be assigned corresponding field of view perception ranges, which not only increases the diversity and strategy of the game but also enhances the player's gaming experience and playability. Simultaneously, it better adapts to the top-level field of view, thereby achieving a more realistic visual effect.

[0153] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells according to the target area may specifically include:

[0154] If the target area is the second area, and the bottom cell where the first position is located does not belong to the edge bottom cell, then determine the bottom view grid to which the bottom cell where the first position is located belongs.

[0155] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where the edge bottom cells are the bottom cells adjacent to the top cell, and M is an integer greater than 1;

[0156] The bottom cell containing the first position and the M bottom cells are taken as K cells.

[0157] In one or more embodiments, another method for determining K cells is described. As can be seen from the foregoing embodiments, if the first position of the target virtual object indicates that the target virtual object is in the second region, then the target region is determined to be the second region. Based on this, the following uses a nine-grid view management strategy as an example to illustrate the specific implementation method for determining K cells.

[0158] Specifically, for ease of understanding, please refer to Figure 11 , Figure 11 This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application. As shown in the figure, 1110 indicates a second region (e.g., an island), and the remaining regions (e.g., the sea surface) constitute the first region. 1120 indicates a target virtual object. Based on the first position of the target virtual object, it can be determined that the target virtual object is located within the second region and within the bottom-level cell indicated by 1130. It is evident that the bottom-level cell indicated by 1130 does not belong to the edge bottom-level cell. It can be understood that the edge bottom-level cell refers to the bottom-level cell adjacent to the top-level cell in the bottom-level view grid.

[0159] Therefore, taking the bottom cell indicated by 1130 as the center, and based on the nine-grid view management strategy, eight surrounding bottom cells can be obtained from the bottom view grid (at this time, M equals 8). It is worth noting that none of these eight bottom cells belong to the edge bottom cells.

[0160] Therefore, the 9 bottom cells indicated by 1140 (i.e., the bottom cells indicated by 1130 and the 8 bottom cells) are taken as K cells. In this case, K equals 9.

[0161] Furthermore, this application provides another method for determining the K cells. Using this method, if the first region is not included in the field of view based on the first position of the target virtual object, then the top-level field of view does not need to be considered. Therefore, the requirement for the field of view can be met, thereby improving the realism of the visual effect.

[0162] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, determining K cells according to the target area may specifically include:

[0163] If the target area is the second area, and the bottom cell where the first position is located is an edge bottom cell, then the bottom view grid to which the bottom cell where the first position is located belongs is determined.

[0164] Use the top-level cell corresponding to the bottom-level view grid as the target top-level cell;

[0165] Centered on the target top-level cell, obtain S surrounding top-level cells from the top-level view grid, where S is an integer greater than or equal to 1;

[0166] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where M is an integer greater than 1;

[0167] The bottom cell containing the first position, the S top cells, and the M bottom cells are designated as the K cells.

[0168] In one or more embodiments, another method for determining K cells is described. As can be seen from the foregoing embodiments, if the first position of the target virtual object indicates that the target virtual object is in the second region, then the target region is determined to be the second region. Based on this, the following uses a nine-grid view management strategy as an example to illustrate the specific implementation method for determining K cells.

[0169] Specifically, for ease of understanding, please refer to Figure 12 , Figure 12This is another schematic diagram illustrating the determination of K cells based on a first position in an embodiment of this application. As shown in the figure, 1210 indicates a second region (e.g., an island), and the remaining regions (e.g., the sea surface) constitute the first region. 1220 indicates a target virtual object. Based on the first position of the target virtual object, it can be determined that the target virtual object is located within the second region and within the bottom-level cell indicated by 1230. It is evident that the bottom-level cell indicated by 1230 is an edge-level cell, meaning that the bottom-level cell indicated by 1230 is adjacent to the top-level cell. Therefore, it can be determined that the bottom-level view grid to which the bottom-level cell where the first position is located belongs is the bottom-level view grid indicated by 1240.

[0170] It is worth noting that the bottom-level view grid indicated by 1240 is obtained by dividing the top-level cell of the target, that is, dividing the top-level cell of the target into 3*3 bottom-level cells, and these 9 bottom-level cells constitute the bottom-level view grid indicated by 1240.

[0171] Virtual objects in the first region need to be able to see virtual objects at the edge of the second region (e.g., a virtual object on a ship needs to see virtual objects on the shore of an island). Based on this, a bottom-edge scaling approach can be used. That is, with the target top-level cell as the center, S adjacent top-level cells (i.e., the top-level cells indicated by the arrows) are obtained; in this case, S equals 5. Simultaneously, with the bottom-level cell where the first position is located (i.e., the bottom-level cell indicated by 1230) as the center, based on a nine-grid view management strategy, M surrounding bottom-level cells are obtained from the bottom-level view grid; in this case, M equals 5.

[0172] Therefore, the bottom cell indicated by 1230, the 5 bottom cells, and the 5 top cells are considered as K cells. In this case, K equals 11.

[0173] Furthermore, this application provides another method for determining the K cells. Using the above method, if the first region is determined to be within the field of view based on the first position of the target virtual object, then the top-level field of view needs to be considered. That is, if a virtual object is at the edge of the bottom-level field of view, its broadcast behavior will be actively pushed to the adjacent top-level view. In this way, players in the top-level field of view can observe the behavior of players in the bottom-level field of view. Thus, by scaling up from the top and bottom edges, the effect of making virtual objects in the second region visible within the first region is achieved without increasing memory and bandwidth consumption.

[0174] Optionally, in the above Figure 6Based on one or more corresponding embodiments, in another optional embodiment provided by this application, taking the bottom cell where the first position is located as the center, obtaining M surrounding bottom cells from the bottom view grid, specifically may include:

[0175] The field of view perception range is determined based on the object type corresponding to the target virtual object. The field of view perception range is the field of view range within which the target virtual object is perceived by other virtual objects.

[0176] Centered on the bottom cell where the first position is located, obtain M surrounding bottom cells from the bottom field grid according to the field of view perception range.

[0177] In one or more embodiments, another method for determining the field of view perception range based on object type is introduced. As can be seen from the foregoing embodiments, in game applications, different field of view perception ranges can be set for different object types.

[0178] Specifically, for ease of understanding, please refer to Figure 13 , Figure 13 This is another schematic diagram illustrating the determination of the field of view perception range based on object type in an embodiment of this application, such as... Figure 13 As shown in Figure (A), 1310 is used to indicate the bottom cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 3*3, then the bolded cell indicated by 1320 is the surrounding M bottom cells. In this case, M equals 8.

[0179] like Figure 13 As shown in Figure (B), 1310 is used to indicate the bottom cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 5*5, then the bolded cell indicated by 1330 is the surrounding M bottom cells. In this case, M equals 24.

[0180] like Figure 13 As shown in Figure (C), 1310 is used to indicate the bottom cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is 4*3, then the bolded cell indicated by 1340 is the surrounding M bottom cells. In this case, M equals 11.

[0181] like Figure 13 As shown in Figure (D), 1310 is used to indicate the bottom cell where the first position of the target virtual object is located. Assuming that the visual perception range of the target virtual object is irregular, the bold cell indicated by 1350 is the surrounding M bottom cells. In this case, M equals 10.

[0182] In practical applications, other types of field of view management strategies can also be adopted. At the same time, the field of view perception range can be set to different shapes, which are not limited here.

[0183] Furthermore, this application provides another method for determining the field of view based on object type in its embodiments. Using this method, different types of virtual objects in the game map can be assigned corresponding field of view ranges, which not only increases the diversity and strategy of the game but also enhances the player's gaming experience and playability. Simultaneously, it better adapts to the underlying field of view, thereby achieving a more realistic visual effect.

[0184] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, after broadcasting the first object information according to K cells, it may further include:

[0185] Obtain the second object information corresponding to the target virtual object at the second time point, wherein the second object information includes at least the second position information of the target virtual object, and the second position information is used to describe the second position of the target virtual object in the original map;

[0186] R cells are determined based on the second position information, wherein the R cells include at least one of the top-level cell and the bottom-level cell, and R is an integer greater than 1;

[0187] Broadcast the second object information to each of the R cells.

[0188] In one or more embodiments, a method for broadcasting second object information is described. As can be seen from the foregoing embodiments, the computer device can further acquire second object information corresponding to the target virtual object at a second time point. This second object information includes second location information of the target virtual object; for example, the second location information can be represented as latitude and longitude coordinates, or as pixel coordinates, etc. Based on this, the computer device can determine the second location of the target virtual object in the original map according to the second location information.

[0189] Specifically, based on the second location of the target virtual object, the computer device first determines the target area where the target virtual object is located at the second moment, then determines the field of view type based on the type of the target area, and finally selects R cells based on the field of view type. For example, one approach is for the computer device to broadcast the second object information to each of the R cells. Another approach is to first determine the virtual objects to be notified (e.g., virtual objects controlled by other players, NPCs, etc.) from the R cells, and then broadcast the second object information only to the cells containing these virtual objects.

[0190] Taking game applications as an example, the second object information can include not only the second location information, but also the target virtual object's attribute information, equipment information, etc. at the second moment.

[0191] Secondly, this application provides a method for broadcasting second object information. Through this method, the computer device continuously broadcasts object information of the target virtual object at different times, thereby improving information dissemination efficiency and enhancing the immediacy and usability of the information.

[0192] Optionally, in the above Figure 6 Based on one or more corresponding embodiments, in another optional embodiment provided by this application, obtaining the second object information corresponding to the target virtual object at a second time moment may specifically include:

[0193] If the preset duration is reached, obtain the second object information corresponding to the target virtual object at the second moment, wherein the difference between the second moment and the first moment is equal to the preset duration;

[0194] or,

[0195] When a change in the first object information of the target virtual object is detected, the second object information corresponding to the target virtual object at the second time moment is obtained.

[0196] In one or more embodiments, two methods for updating object information are described. As can be seen from the foregoing embodiments, players can control target virtual objects to perform movement, attack, and detection operations. Therefore, in order to synchronize the relevant information of the target virtual object, the computer device needs to broadcast the information of the target virtual object at different times in a timely manner.

[0197] For example, assuming the preset duration is 100 milliseconds, that is, after the computer device obtains the first object information corresponding to the target virtual object at the first moment, it obtains the second object information corresponding to the target virtual object at the second moment after a preset duration (e.g., 100 milliseconds).

[0198] For example, the computer device can read the game log and determine whether the first object information of the target virtual object has changed. If it has not changed, it continues to wait. If it has changed, the computer device obtains the second object information corresponding to the target virtual object at a second time point, where the second time point is the time after the change in the first object information is detected.

[0199] Furthermore, this application provides two methods for updating object information. By using these methods, updating information at a fixed frequency enhances the real-time performance of information broadcasting and improves information dissemination efficiency. Updating information only when changes are detected saves information processing resources.

[0200] The information processing apparatus in this application is described in detail below. Please refer to [link / reference]. Figure 14 , Figure 14 This is a schematic diagram of one embodiment of the information processing device in this application. The information processing device 1400 includes:

[0201] The acquisition module 1410 is used to acquire the first object information corresponding to the target virtual object at the first moment, wherein the first object information includes at least the first position information of the target virtual object, and the first position information is used to describe the first position of the target virtual object in the original map;

[0202] The determination module 1420 is used to obtain K cells based on the first location information. The K cells include at least one of the top-level cells and the bottom-level cells. The top-level cells belong to the cells in the top-level view grid, which is obtained based on the original map. The bottom-level cells belong to the cells in the bottom-level view grid, which is obtained based on the top-level cells. K is an integer greater than 1.

[0203] Broadcast module 1430 is used to broadcast information about the first object based on K cells.

[0204] This application provides an information processing device. Using this device, differentiated management of cells of different sizes can be achieved simply by maintaining the original map. This not only simplifies the logic and reduces maintenance costs, but also effectively controls the broadcast range, thereby reducing the consumption of device performance.

[0205] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0206] The determination module 1420 is specifically used to determine the target area where the target virtual object is located at the first moment based on the first location information. The original map includes a first area and a second area. The target area belongs to the first area or the second area. The field of view of the first area is greater than that of the second area.

[0207] Determine K cells based on the target area.

[0208] In this embodiment of the application, an information processing apparatus is provided. By employing the above apparatus, the different field of view ranges of virtual objects in different areas are fully considered, thus enabling users to obtain a more realistic field of view and providing them with a more realistic experience.

[0209] Optionally, in the above Figure 14Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0210] The module 1420 is specifically used to obtain N surrounding top-level cells from the top-level view grid, centered on the top-level cell where the first position is located, when the target area is the first area. Here, N is an integer greater than 1.

[0211] If the N top-level cells do not include the top-level cells that are divided into the bottom-level view grid, then the top-level cell where the first position is located and the N top-level cells are taken as the K cells.

[0212] In this embodiment, an information processing apparatus is provided. Using this apparatus, if it is determined that the second region is not included within the field of view corresponding to the first location of the target virtual object, then the underlying field of view does not need to be considered. Therefore, the requirements for the field of view can be met, thereby improving the realism of the visual effect.

[0213] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0214] The module 1420 is specifically used to obtain N surrounding top-level cells from the top-level view grid, centered on the top-level cell where the first position is located, when the target area is the first area. Here, N is an integer greater than 1.

[0215] If N top-level cells include at least one top-level cell that is divided into the bottom-level view grid, then K cells are determined based on at least one top-level cell, wherein the K cells include the top-level cell where the first position is located and each top-level cell that is not divided into the bottom-level view grid.

[0216] In this embodiment, an information processing apparatus is provided. Using this apparatus, if the field of view corresponding to the first location of the target virtual object includes a second region, then the underlying field of view needs to be considered. Based on this, it is possible to achieve the effect of making virtual objects in the first region visible from the second region without increasing memory and bandwidth consumption.

[0217] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0218] The module 1420 is specifically used to obtain T bottom cells belonging to the bottom view grid based on the bottom view grid corresponding to each top cell in at least one top cell, where T is an integer greater than 1.

[0219] The top-level cell containing the first position, all top-level cells that are not divided into bottom-level view grids, and T bottom-level cells are taken as K cells.

[0220] This application provides an information processing device. Using this device, first object information can be broadcast to each of K cells. This ensures uniform and comprehensive information coverage, thus facilitating the design of more global gameplay mechanics.

[0221] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0222] The module 1420 is specifically used to obtain T bottom cells belonging to the bottom view grid based on the bottom view grid corresponding to each top cell in at least one top cell, where T is an integer greater than 1.

[0223] From the T bottom cells, determine the bottom cell containing the object to be broadcast, to obtain Q bottom cells, where Q is an integer greater than or equal to 1 and less than or equal to T;

[0224] The top-level cell containing the first position, all top-level cells that are not divided into the bottom-level view grid, and Q bottom-level cells are taken as K cells.

[0225] In this application embodiment, an information processing apparatus is provided. Using this apparatus, a computer device can broadcast only to the underlying cells containing virtual objects, thereby saving the resources required for broadcasting and further reducing device performance and network traffic consumption.

[0226] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0227] The determination module 1420 is specifically used to determine the field of view perception range based on the object type corresponding to the target virtual object, wherein the field of view perception range is the field of view range of the target virtual object perceived by other virtual objects;

[0228] Centered on the top-level cell where the first position is located, obtain N surrounding top-level cells from the top-level field-of-view grid according to the field of view perception range.

[0229] This application provides an information processing device. Using this device, different types of virtual objects in a game map can have their corresponding field-of-view perception ranges set, which not only increases the diversity and strategy of the game but also enhances the player's gaming experience and playability. Simultaneously, it can better adapt to the top-level field of view, thereby achieving a more realistic visual effect.

[0230] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0231] The module 1420 is specifically used to determine the underlying view grid to which the bottom cell where the first position is located belongs if the bottom cell where the first position is located does not belong to the edge bottom cell when the target area is the second area.

[0232] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where the edge bottom cells are the bottom cells adjacent to the top cell, and M is an integer greater than 1;

[0233] The bottom cell containing the first position and the M bottom cells are taken as K cells.

[0234] In this embodiment, an information processing apparatus is provided. Using this apparatus, if it is determined that the first region is not included within the field of view corresponding to the first location of the target virtual object, then there is no need to consider the top-level field of view. Therefore, the requirements for the field of view can be met, thereby improving the realism of the visual effect.

[0235] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0236] The module 1420 is specifically used to determine the underlying view grid to which the bottom cell where the first position is located belongs if the bottom cell where the first position is located is an edge bottom cell when the target area is the second area.

[0237] Use the top-level cell corresponding to the bottom-level view grid as the target top-level cell;

[0238] Centered on the target top-level cell, obtain S surrounding top-level cells from the top-level view grid, where S is an integer greater than or equal to 1;

[0239] Centered on the bottom cell where the first position is located, obtain the M surrounding bottom cells from the bottom view grid, where M is an integer greater than 1;

[0240] The bottom cell containing the first position, the S top cells, and the M bottom cells are designated as the K cells.

[0241] This application provides an information processing apparatus. Using this apparatus, if the field of view corresponding to the target virtual object is determined to include a first region based on its first location, then the top-level field of view needs to be considered. Based on this, it is possible to achieve the effect of seeing virtual objects in a second region within a first region without increasing memory and bandwidth consumption.

[0242] This application provides an information processing device. Using this device, if the field of view corresponding to the target virtual object is determined to include a first region based on its first location, then the top-level field of view needs to be considered. That is, if a virtual object is at the edge of the bottom-level field of view, its broadcast behavior will be actively pushed to the adjacent top-level view. In this way, players in the top-level field of view can observe the behavior of players in the bottom-level field of view. Thus, by scaling up from the top and bottom edges, the effect of seeing virtual objects in the second region within the first region is achieved without increasing memory and bandwidth consumption.

[0243] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0244] The determination module 1420 is specifically used to determine the field of view perception range based on the object type corresponding to the target virtual object, wherein the field of view perception range is the field of view range of the target virtual object perceived by other virtual objects;

[0245] Centered on the bottom cell where the first position is located, obtain M surrounding bottom cells from the bottom field grid according to the field of view perception range.

[0246] This application provides an information processing device. Using this device, different types of virtual objects in a game map can have their corresponding field-of-view perception ranges set, which not only increases the diversity and strategy of the game but also enhances the player's gaming experience and playability. Simultaneously, it can better adapt to the lower-level field of view, thereby achieving a more realistic visual effect.

[0247] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0248] The acquisition module 1410 is also used to acquire the second object information corresponding to the target virtual object at the second time after broadcasting the first object information based on K cells, wherein the second object information includes at least the second position information of the target virtual object, and the second position information is used to describe the second position of the target virtual object in the original map;

[0249] The determining module 1420 is further configured to determine R cells based on the second position information, wherein the R cells include at least one of the top-level cell and the bottom-level cell, and R is an integer greater than 1;

[0250] The broadcast module 1430 is also used to broadcast second object information to each of the R cells.

[0251] In this application embodiment, an information processing apparatus is provided. Using this apparatus, a computer device can continuously broadcast object information of a target virtual object at different times, thereby improving information dissemination efficiency and enhancing the immediacy and usability of the information.

[0252] Optionally, in the above Figure 14 Based on the corresponding embodiments, in another embodiment of the information processing apparatus 1400 provided in this application,

[0253] The acquisition module 1410 is specifically used to acquire the second object information corresponding to the target virtual object at the second moment when the preset time is reached, wherein the difference between the second moment and the first moment is equal to the preset time.

[0254] or,

[0255] When a change in the first object information of the target virtual object is detected, the second object information corresponding to the target virtual object at the second time moment is obtained.

[0256] This application provides an information processing apparatus. Using this apparatus, if information is updated at a fixed frequency, the real-time performance of information broadcasting can be enhanced, and the efficiency of information dissemination can be improved. If information is updated only when changes are detected, information processing resources can be saved.

[0257] Figure 15This is a schematic diagram of a computer device structure provided in an embodiment of this application. The computer device 1500 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 1522 (e.g., one or more processors) and a memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing application programs 1542 or data 1544. The memory 1532 and storage media 1530 can be temporary or persistent storage. The program stored in the storage media 1530 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the computer device. Furthermore, the CPU 1522 may be configured to communicate with the storage media 1530 and execute the series of instruction operations in the storage media 1530 on the computer device 1500.

[0258] Computer device 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input / output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.

[0259] The steps performed by the computer device in the above embodiments can be based on this Figure 15 The computer device structure shown.

[0260] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the methods described in the foregoing embodiments.

[0261] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the methods described in the foregoing embodiments.

[0262] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0263] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0264] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0265] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0266] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0267] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a server or terminal device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0268] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. An information processing method, characterized in that, include: Obtain the first object information corresponding to the target virtual object at a first moment, wherein the first object information includes at least the first location information of the target virtual object, and the first location information is used to describe the first location of the target virtual object in the original map; K cells are determined based on the first location information, wherein the K cells include at least one of a top-level cell and a bottom-level cell, the top-level cell is a cell in the top-level view grid, the top-level view grid is obtained based on the original map, the bottom-level cell is a cell in the bottom-level view grid, the bottom-level view grid is obtained based on the top-level cell, and K is an integer greater than 1; Based on the K cells, the information of the first object is broadcast.

2. The method according to claim 1, characterized in that, The step of determining K cells based on the first location information includes: The target area where the target virtual object is located at the first moment is determined based on the first location information, wherein the original map includes a first area and a second area, the target area belongs to the first area or the second area, and the field of view of the first area is greater than the field of view of the second area; The K cells are determined based on the target area.

3. The method according to claim 2, characterized in that, Determining the K cells based on the target region includes: When the target area is the first area, with the top cell where the first position is located as the center, N surrounding top cells are obtained from the top view grid, where N is an integer greater than 1; If the N top-level cells do not include the top-level cells that are divided into the bottom-level view grid, then the top-level cell where the first position is located and the N top-level cells are taken as the K cells.

4. The method according to claim 2, characterized in that, Determining the K cells based on the target region includes: When the target area is the first area, with the top cell where the first position is located as the center, N surrounding top cells are obtained from the top view grid, where N is an integer greater than 1; If the N top-level cells include at least one top-level cell that is divided into the bottom-level view grid, then the K cells are determined based on the at least one top-level cell, wherein the K cells include the top-level cell where the first position is located and each top-level cell that is not divided into the bottom-level view grid.

5. The method according to claim 4, characterized in that, Determining the K cells based on the at least one top-level cell includes: Based on the underlying view grid corresponding to each of the at least one top-level cells, obtain T bottom-level cells belonging to the underlying view grid, where T is an integer greater than 1; The top-level cell where the first position is located, each of the top-level cells that are not divided into the bottom-level view grid, and the T bottom-level cells are taken as the K cells.

6. The method according to claim 4, characterized in that, Determining the K cells based on the at least one top-level cell includes: Based on the underlying view grid corresponding to each of the at least one top-level cells, obtain T bottom-level cells belonging to the underlying view grid, where T is an integer greater than 1; From the T bottom cells, determine the bottom cell containing the object to be broadcast, to obtain Q bottom cells, where Q is an integer greater than or equal to 1 and less than or equal to T; The top-level cell where the first position is located, each of the top-level cells that are not divided into the bottom-level view grid, and the Q bottom-level cells are taken as the K cells.

7. The method according to any one of claims 3 to 6, characterized in that, The step of obtaining N surrounding top-level cells from the top-level view grid, centered on the top-level cell where the first position is located, includes: The field of view perception range is determined based on the object type corresponding to the target virtual object, wherein the field of view perception range is the field of view range of the target virtual object perceived by other virtual objects; Centered on the top cell where the first position is located, the N surrounding top cells are obtained from the top field of view grid according to the field of view perception range.

8. The method according to claim 2, characterized in that, Determining the K cells based on the target region includes: If the target area is the second area, and the bottom cell where the first position is located does not belong to the edge bottom cell, then the bottom view grid to which the bottom cell where the first position is located belongs is determined. Centered on the bottom cell where the first position is located, obtain M surrounding bottom cells from the bottom view grid, wherein the edge bottom cells are the bottom cells adjacent to the top cell, and M is an integer greater than 1; The bottom cell where the first position is located, and the M bottom cells are taken as the K cells.

9. The method according to claim 2, characterized in that, Determining the K cells based on the target region includes: If the target area is the second area, and the bottom cell where the first position is located is an edge bottom cell, then the bottom view grid to which the bottom cell where the first position is located belongs is determined. The top cell corresponding to the bottom-level view grid is taken as the target top-level cell; Centered on the target top-level cell, obtain S surrounding top-level cells from the top-level view grid, where S is an integer greater than or equal to 1; Centered on the bottom cell where the first position is located, obtain M surrounding bottom cells from the bottom view grid, where M is an integer greater than 1; The bottom cell where the first position is located, the S top cells, and the M bottom cells are taken as the K cells.

10. The method according to claim 8 or 9, characterized in that, The step of obtaining M surrounding bottom-level cells from the bottom-level view grid, centered on the bottom-level cell where the first position is located, includes: The field of view perception range is determined based on the object type corresponding to the target virtual object, wherein the field of view perception range is the field of view range of the target virtual object perceived by other virtual objects; Centered on the bottom cell where the first position is located, the M surrounding bottom cells are obtained from the bottom field grid according to the field perception range.

11. The method according to any one of claims 1 to 10, characterized in that, After broadcasting the information of the first object based on the K cells, the method further includes: Obtain the second object information corresponding to the target virtual object at the second time, wherein the second object information includes at least the second location information of the target virtual object, and the second location information is used to describe the second location of the target virtual object in the original map; R cells are determined based on the second position information, wherein the R cells include at least one of the top-level cell and the bottom-level cell, and R is an integer greater than 1; Broadcast the second object information to each of the R cells.

12. The method according to claim 11, characterized in that, The step of obtaining the second object information corresponding to the target virtual object at the second time point includes: If a preset duration is reached, the second object information corresponding to the target virtual object at the second time point is obtained, wherein the difference between the second time point and the first time point is equal to the preset duration. or, When a change is detected in the first object information of the target virtual object, the second object information corresponding to the target virtual object at the second time moment is obtained.

13. An information processing device, characterized in that, include: The acquisition module is used to acquire the first object information corresponding to the target virtual object at a first moment, wherein the first object information includes at least the first location information of the target virtual object, and the first location information is used to describe the first location of the target virtual object in the original map; The determination module is used to determine K cells based on the first location information, wherein the K cells include at least one of a top-level cell and a bottom-level cell, the top-level cell is a cell in the top-level view grid, the top-level view grid is obtained based on the original map, the bottom-level cell is a cell in the bottom-level view grid, the bottom-level view grid is obtained based on the top-level cell, and K is an integer greater than 1; The broadcast module is used to broadcast the information of the first object based on the K cells.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 12.

16. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 12.