CN114887325B - Data processing method, display method, device and storage medium - Google Patents

Data processing method, display method, device and storage medium Download PDF

Info

Publication number
CN114887325B
CN114887325B CN202210412660.5A CN202210412660A CN114887325B CN 114887325 B CN114887325 B CN 114887325B CN 202210412660 A CN202210412660 A CN 202210412660A CN 114887325 B CN114887325 B CN 114887325B
Authority
CN
China
Prior art keywords
game
game object
attribute
interest
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210412660.5A
Other languages
Chinese (zh)
Other versions
CN114887325A (en
Inventor
朱晓靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yidianlingxi Information Technology Guangzhou Co ltd
Original Assignee
Yidianlingxi Information Technology Guangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yidianlingxi Information Technology Guangzhou Co ltd filed Critical Yidianlingxi Information Technology Guangzhou Co ltd
Priority to CN202210412660.5A priority Critical patent/CN114887325B/en
Publication of CN114887325A publication Critical patent/CN114887325A/en
Application granted granted Critical
Publication of CN114887325B publication Critical patent/CN114887325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/63Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by the player, e.g. authoring using a level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/538Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application provides a data processing method, a display method, equipment and a storage medium, which comprise the steps of detecting a second game object meeting any interest condition configured by a first game object; determining at least one attribute of the first game object corresponding to the interest condition configuration; acquiring rendering data of the second game object corresponding to the at least one attribute; wherein the rendering data is used to generate a game screen corresponding to the first game object such that the at least one attribute of the second game object is visible to the first game object in the game screen. The technical scheme provided by the embodiment of the application improves the accuracy of game picture display control.

Description

Data processing method, display method, device and storage medium
Technical Field
The embodiment of the application relates to the field of data processing, in particular to a data processing method, a display method, equipment and a storage medium.
Background
In some virtual scenes, such as a game scene, a plurality of virtual objects are generally included, and there is a need for interaction between different virtual objects, for example, between a player object operated by one user and a player object operated by another user, and there may be a need for interaction between a player object and a non-player object such as stones, monsters, etc.
However, since there are many virtual objects involved in the game scene, if all the virtual objects are visible to one virtual object, a large amount of computation is caused, and thus more computing resources, network resources, and the like are consumed. In order to reduce resource consumption, currently, an AOI (Area of Interest) mode is generally adopted to set an Area of Interest for one virtual object, and only other virtual objects entering the Area of Interest of one virtual object are rendered to be visible to the virtual object.
However, since the region of interest is determined according to the distance, accurate display control cannot be achieved.
Disclosure of Invention
The embodiment of the application provides a data processing method, a display method, a device and a storage medium, which are used for improving the accuracy of display control.
In a first aspect, an embodiment of the present application provides a data processing method, including:
detecting a second game object satisfying any interest condition of the first game object configuration;
determining at least one attribute of the first game object corresponding to the interest condition configuration;
acquiring rendering data of the second game object corresponding to the at least one attribute; wherein the rendering data is used to generate a game screen corresponding to the first game object such that the at least one attribute of the second game object is visible to the first game object in the game screen.
In a second aspect, an embodiment of the present application provides a data processing method, including:
detecting a second virtual object meeting any interest condition of the first virtual object configuration;
determining at least one attribute of the first virtual object corresponding to the interest condition configuration;
acquiring rendering data of the second virtual object corresponding to the at least one attribute; the rendering data is used for generating an interactive picture corresponding to the first virtual object, so that the at least one attribute of the second virtual object is visible to the first virtual object in the interactive picture.
In a third aspect, an embodiment of the present application provides a display method, including:
providing a display interface;
displaying a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute on the display interface; wherein the second game object is a game object satisfying any interest condition configured by the first game object, and the at least one attribute is configured by the first game object corresponding to the interest condition.
In a fourth aspect, embodiments of the present application provide a computing device, including a storage component and a processing component; the storage component stores one or more computer program instructions for execution by the processing component, the processing component executing the one or more computer program instructions to implement the data processing method of any of the first or second aspects.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a storage component, a processing component, and a display component; the storage component stores one or more computer program instructions for execution by the processing component, the processing component executing the one or more computer program instructions to implement the display method as described in the third aspect.
In a sixth aspect, in an embodiment of the present application, there is provided a computer-readable storage medium storing a computer program, where the computer program when executed by a computer implements the data processing method according to any one of the first aspect or the second aspect or the display method according to the third aspect.
In the embodiment of the application, the game object in the game scene can be configured with the interest condition, other game objects meeting the interest condition can represent the game object interested by the game object, and at least one attribute corresponding to the interest condition can be configured, the at least one attribute can represent the attribute interested by the game object, based on the at least one attribute corresponding to the interest condition configured by the first game object can be detected, at least one attribute corresponding to the interest condition configured by the first game object is determined, rendering data corresponding to the at least one attribute of the second game object is acquired, the rendering data can render and generate a game picture corresponding to the first game object, at least one attribute of the second game object is visible to the first game object, more refined control can be realized through the interest condition and the configured attribute, and the accuracy of the game picture display control is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of one embodiment of a system architecture provided herein;
FIG. 2 illustrates a flow chart of one embodiment of a data processing method provided herein;
FIG. 3 is a flow chart illustrating another embodiment of a data processing method provided herein;
FIG. 4-1 is a schematic illustration of a display of a game screen provided herein;
FIG. 4-2 is a schematic view of another display of the game screen provided herein;
FIGS. 4-3 are schematic diagrams illustrating yet another display of game screens provided herein;
FIGS. 4-4 are schematic diagrams illustrating yet another display of game screens provided herein;
FIG. 5 illustrates a flow chart of one embodiment of a display method provided herein;
FIG. 6 illustrates a schematic diagram of one embodiment of a computing device provided herein;
fig. 7 is a schematic structural diagram of an embodiment of an electronic device provided in the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the foregoing figures, a number of operations are included that occur in a particular order, but it should be understood that the operations may be performed in other than the order in which they occur or in parallel, that the order of operations such as 101, 102, etc. is merely for distinguishing between the various operations, and that the order of execution is not by itself represented by any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The technical scheme of the application can be suitable for application scenes for rendering and displaying virtual scenes, the virtual scenes can be game scenes, virtual reality scenes and the like, the virtual scenes can be rendered and displayed through corresponding rendering data, in one virtual scene, a plurality of virtual objects are generally included, and interaction requirements exist among different virtual objects. Taking a game scenario as an example, there may be a need for interaction between a player object manipulated by one user and a player object manipulated by another user, both between a player object and a non-player object such as a stone, monster, etc.
The inventor finds in the research that, because an AOI (Area of interest) mode is adopted, an Area of interest of a virtual object is determined according to a distance, and only other virtual objects entering the Area of interest of the virtual object are visible to the virtual object, the mode cannot realize accurate display control, and in order to solve the technical problem, after a series of thinking and experiments, the inventor proposes a technical scheme of the application, and in the embodiment of the application, the virtual object in a virtual scene can be configured with interest conditions and corresponding interest condition configuration attributes. For a first game object, at least one attribute of a second game object satisfying a configured interest condition thereof may be determined; rendering and displaying only rendering data of at least one attribute of the second game object, so that the first virtual object can only see the at least one attribute of the second virtual object, fine control is realized, and flexibility and accuracy of virtual scene display control are improved.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
As shown in fig. 1, a schematic structural diagram of a system architecture to which the technical solution of the embodiment of the present application may be applied may include a client 101 and a server 102. And establishing connection between the client and the server through a network. The network provides a medium for communication links between clients and servers. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The client may interact with the server through a network to receive or transmit data, etc.
The client may be a browser, an APP (Application program), or a web Application such as H5 (HyperText Markup Language5, 5 th edition of hypertext markup language) Application, or a light Application (also called applet, a lightweight Application program), or a cloud Application, etc., and the client may be deployed in an electronic device, and needs to run depending on the device or some APPs in the device, etc. The electronic device may for example have a display screen and support information browsing etc. as may be a personal mobile terminal such as a mobile phone, tablet, personal computer, television etc.
The server may include a server providing various services, such as a server processing interaction information transmitted from a client, and the like. It should be noted that, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. The server may also be a server of a distributed system or a server that incorporates a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology.
Taking a game scene as an example, the client may be a game program, and the electronic device may store the game program and be capable of presenting game pictures on the display screen. The electronic device may interact with the player user through a graphical user interface, i.e., by downloading and installing a game program and running through the electronic device, and the manner in which the client provides the graphical user interface to the player may include a variety of ways, such as may be rendered for display on a display screen of the electronic device, or provided to the user through holographic projection, etc. The server may include a server that provides various services for the game program.
The server side can send the rendering data of the game scene to the client side, and the client side performs rendering display to generate and display a game picture corresponding to the game scene.
In addition, the technical scheme of the embodiment of the application can also be applied to a cloud game scene, the system architecture can be realized as a cloud interaction system, and the cloud game can refer to a game mode based on cloud computing. In a scene of a cloud game, a game screen may be generated by a server based on rendering data, a client being used only to present the game screen, and the like.
Of course, the technical scheme of the embodiment of the application can also be applied to a local game scene, that is, the client can render the game picture of the game scene through the client without interacting with the server, and can render different game pictures based on user control, etc.
It should be noted that, the data processing method provided in the embodiments of the present application is generally executed by the server, and the display method is generally executed by the client. However, in other embodiments of the present application, the client may also execute the data processing method provided in the embodiments of the present application, and the server may also execute the display method provided in the embodiments of the present application. In other embodiments, the data processing method provided in the embodiments of the present application may be performed by the client and the server together.
FIG. 2 is a flowchart of one embodiment of a data processing method provided in an embodiment of the present application, which may include the following steps:
201: a second virtual object is detected that satisfies any of the conditions of interest of the first virtual object configuration.
In this embodiment, the method may be applied to a virtual scene, and the virtual object may refer to an entity object located in the virtual scene. The virtual scene may include, for example, a game scene, a simulated animation scene, etc., and the virtual object may include an object manipulated by a user, an object not manipulated by the user, etc., without limitation.
In a virtual scenario, a user may manipulate an object to interact with other virtual objects, such as to conduct a conversation or the like. For the object controlled by the user, the interactive picture corresponding to the object controlled by the user can be generated based on rendering data of other virtual objects in the virtual scene, so that the other virtual objects are visible to the object controlled by the user, and interaction is facilitated.
For the object controlled by the user, one or more interest conditions may be preconfigured, where the virtual object that satisfies the interest conditions may be a virtual object that is interested in the object controlled by the user, such as an instant interaction with the object controlled by the user. The virtual object rendering meeting the interest condition can be seen, and other virtual objects do not need to be rendered, so that the rendering efficiency is improved. The setting of the interest condition will be described in the following embodiments, and will not be described here.
For convenience of description, an object controlled by a current user may be referred to as a first virtual object, and a virtual object in a virtual scene that satisfies any interest condition configured by the first virtual object may be referred to as a second virtual object.
In particular, there are various implementations for detecting the second virtual object that satisfies any of the interest conditions of the first virtual object configuration, which will be described in the following embodiments.
202: at least one attribute of the first virtual object corresponding to the interest condition configuration is determined.
In a virtual scene, a virtual object may have attributes. The attributes may include type, location, name, action, etc., and may be set according to an actual application scenario without limitation. For example, the types may include object types such as user manipulation, object types not manipulated by a user, and the like, and the actions may include actions such as limb actions, expressive actions, and the like. Different virtual objects may have different attributes and may be preset according to an actual application scenario.
For an interest condition configured for a first virtual object, at least one attribute corresponding to the interest condition may be determined. The at least one attribute may include one or more of the above attributes. The at least one attribute may characterize an attribute of interest of the first virtual object, rendering based on the at least one attribute in the other virtual objects may enable the at least one attribute in the other virtual objects to be visible to the first virtual object.
203: and obtaining rendering data of the second virtual object corresponding to at least one attribute.
The rendering data may be used to generate an interaction picture corresponding to the first virtual object, such that at least one attribute of the second virtual object is visible to the first virtual object in the interaction picture.
The second virtual object is a virtual object of interest to the first virtual object, and at least one attribute in the second virtual object is an attribute of interest in the virtual object of interest to the first virtual object. Rendering data of at least one attribute corresponding to the second virtual object can be obtained to render and generate an interactive picture corresponding to the first virtual object, so that the user can see the attribute of interest in the virtual object of interest in the virtual scene by controlling the first virtual object in the interactive picture.
In this embodiment, a virtual object in a virtual scene may be configured with any interest condition, other virtual objects meeting the interest condition may represent a virtual object interested by the virtual object, and the corresponding interest condition may be configured with at least one attribute, where the at least one attribute may represent an attribute interested by the virtual object, based on this, a second virtual object meeting any interest condition configured by the first virtual object may be detected, at least one attribute configured by the first virtual object corresponding to the interest condition may be determined, and rendering data corresponding to the at least one attribute of the second virtual object may be obtained, where the rendering data may render and generate an interactive screen corresponding to the first virtual object, so that the at least one attribute of the second virtual object may be visible to the first virtual object, and more refined control may be implemented by the interest condition and the configured attribute thereof, thereby improving accuracy of display control on the interactive screen.
For ease of understanding, the following one or more embodiments will mainly take a game scenario as an example, and the technical solutions of the present application will be described in detail.
FIG. 3 is a flowchart of another embodiment of a data processing method provided herein, which may include the steps of:
301: a second game object is detected that satisfies any of the interest conditions of the first game object configuration.
In this embodiment, the method may be applied to a game scene, where a game object may refer to an entity object located in the game scene, and may include a player object controlled by a user, a character object (NPC) not controlled by the user, a non-character object (such as stone, monster), and the like, which is not limited in this application. In one practical application, the first game object may specifically refer to a game object that is visible to the player object, i.e. a game object that can be seen in the game screen by a user manipulating the player object.
In a game scenario, for example, a user may manipulate a player object to interact with other game objects, such as to interact with player objects manipulated by other users, or to interact with NPC objects to promote game play, or to fight monster objects for experience level improvement, etc. For player objects controlled by a user, a game picture corresponding to the player object can be generated based on rendering data rendering of other game objects in a game scene, so that the other game objects are visible to the player object, and interaction is facilitated.
In consideration of a plurality of game objects in a game scene, one or more interest conditions can be preconfigured for a player object controlled by a user, wherein the game object meeting the interest conditions can be a game object interested by the player object controlled by the user, such as instant interaction with the player object controlled by the user. The method and the device can render the game objects meeting the interest condition, and other game objects do not need to be rendered, so that the rendering efficiency is improved. The setting of the interest condition will be described in the following embodiments, and will not be described here.
For convenience of description, a player object currently operated by a user may be referred to as a first game object, and a game object satisfying any interest condition configured by the first game object in a game scene may be referred to as a second game object, which may include player objects operated by other users, character objects (NPCs) not operated by users, non-character objects (stones, monsters), and the like.
In particular, there are a variety of implementations for detecting a second game object that satisfies any of the interesting conditions of the first game object configuration, which will be described in the following embodiments.
302: at least one attribute of the first game object corresponding to the interest condition configuration is determined.
In a game scenario, a game object may have attributes. The attributes may include type, location, name, equipment, action, chat information, etc., and may be set according to the actual application scenario without limitation. For example, the types may include object types such as user manipulation, NPC object types, non-character object types, etc., the equipment may include weapons, looks, accessories, etc., and the actions may include limb actions, expressive actions, etc., for example.
Wherein, different game objects may have different attributes, for example, stone objects may have type, location attributes, monster objects may have type, location, equipment attributes, NPC objects may have type, location, name and equipment attributes, objects manipulated by a user may have type, location, name, equipment and action attributes, etc., which may be preset according to an actual application scenario.
For an interest condition configured for a first game object, at least one attribute corresponding to the interest condition may be determined. The at least one attribute may include one or more of the above attributes. The at least one attribute may characterize an attribute of interest of the first game object, rendering based on the at least one attribute of the other game objects may enable the at least one attribute of the other game objects to be visible to the first game object.
303: rendering data of the second game object corresponding to at least one attribute is obtained.
Wherein the rendering data may be used to generate a game screen corresponding to the first game object such that at least one attribute of the second game object is visible to the first game object in the game screen.
The second game object is a game object of interest to the first game object, and at least one attribute in the second game object is an attribute of interest in the game object of interest to the first game object. Rendering data of at least one attribute corresponding to the second game object can be obtained to render and generate a game picture corresponding to the first game object, so that the user can see the attribute of interest in the game object of interest in the game scene by controlling the first game object in the game picture.
Optionally, the rendering data of the first game object may be obtained, and the rendering data of the second game object is combined to generate a game picture corresponding to the first game object, where the game picture may include the first game object and the second game object, and at least one attribute of the second game object is visible to the first game object.
Optionally, the game picture can be generated by combining with other rendering data such as background, special effect animation and the like for rendering, and the game picture can be set according to actual application scenes without limitation.
Optionally, after determining the at least one attribute configured for the interest condition of the first game object, at least one attribute in the second game object may be preferentially searched, so as to obtain corresponding rendering data.
In practical applications, the rendering data of each game object may be stored in a database or a local terminal device. Optionally, when the solution in this embodiment is applied to the server, the server may obtain rendering data corresponding to at least one attribute of the second game object from the database; optionally, when the solution in this embodiment is applied to the client, the client may obtain rendering data corresponding to at least one attribute of the second game object from the local storage data.
In this embodiment, a game object in a game scene may be configured with any interest condition, other game objects meeting the interest condition may represent a game object interested by the game object, and at least one attribute corresponding to the interest condition may be configured, where the at least one attribute may represent an attribute interested by the game object, based on this, a second game object meeting any interest condition configured by the first game object may be detected, at least one attribute configured by the first game object corresponding to the interest condition may be determined, and rendering data corresponding to the at least one attribute of the second game object may be acquired, where the rendering data may render a game screen corresponding to the first game object and generate, so that the at least one attribute of the second game object may be visible to the first game object. And rendering is performed by acquiring rendering data corresponding to the configuration attribute, so that rendering resources are saved, and the burden on computing resources and network resources is reduced.
In practical applications, the operation of detecting the second game object satisfying any of the conditions of interest of the first game object configuration may be performed in response to the first game object entering the game scene or a change in the position of the first game object in the game scene. Optionally, the condition of interest may include a distance range and/or at least one predetermined attribute.
In this case, the detection of the second game object satisfying any interest condition of the first game object configuration may be the detection of the second game object entering within a distance range defined by any interest condition of the first game object and/or having at least one predetermined attribute defined by the interest condition, and there may be various implementations.
As an alternative implementation, the condition of interest may include a range of distances. At this time, the detection of the second game object satisfying any of the interest conditions of the first game object configuration may be the detection of the second game object coming within a distance range specified by any of the interest conditions. The distance range can be set according to practical application scenes, such as 10 meters, 20 meters and the like, and is not limited.
The region corresponding to the distance range specified by the interest condition can represent the region of interest of the first game object, the second game object entering the range can be the game object of interest of the first game object, the first game object can be rendered visible, and the second game object not entering the range does not need to be rendered visible. For example, if the interest condition of the first game object configuration is that the first game object is within 20 meters, a second game object located within 20 meters from the first game object may be detected, corresponding rendering data may be acquired and rendered, and in the generated game screen, the user may control the first game object to see the game object within 20 meters from the user, and may not see the game object outside the 20 meters from the user.
Alternatively, position data of the first game object may also be acquired, and a distance range specified by the interest condition may be determined based on the position data to detect the second game object within the distance range.
As another alternative implementation of detecting the second game object, the interest condition may include at least one predetermined attribute. At this time, the detection of the second game object satisfying any of the interest conditions of the first game object configuration may be the detection of the second game object having at least one predetermined attribute specified by the interest conditions. The at least one predetermined attribute may be one or more of all attributes possessed by each game object, such as type, equipment, etc.
Wherein the predetermined attribute specified by the interest condition may characterize an attribute of interest of the first game object, the second game object having the predetermined attribute may be a game object of interest of the first game object, and the visualization may be rendered. For example, if the interest condition of the first game object configuration is that the first game object configuration has the equipment attribute, the second game object with the equipment attribute may be detected, corresponding rendering data may be acquired and rendered, and in the generated game image, the first game object controlled by the user may see all game objects with the equipment attribute in the game scene, for example, player objects controlled by other users wearing weapons, accessories or appearances, NPC objects, monsters, etc., and may not see game objects without the equipment attribute, for example Dan Toudeng.
As yet another alternative implementation of detecting the second game object, the interest condition may include a distance range and at least one predetermined attribute. At this time, the detection of the second game object satisfying any of the interest conditions of the first game object configuration may be the detection of the second game object coming within a distance range specified by any of the interest conditions, and the second game object having at least one predetermined attribute.
For example, if the interest condition of the first game object configuration is that the first game object is within 50 meters from the first game object and has a monster type attribute, then a second game object within 50 meters from the first game object and a second game object having a monster type attribute in a game scene can be detected, corresponding rendering data is acquired to render, in a generated game screen, the first game object operated by a user can see the game object within 50 meters from the first game object, and all game objects having a monster type attribute in the game scene, such as monster objects, cannot see the game object which is beyond 50 meters from the first game object and does not have a monster type attribute, such as NPC objects, stones, and the like.
As yet another alternative implementation manner of detecting the second game object, the interest condition may include a distance range and at least one predetermined attribute, and detecting the second game object that satisfies any interest condition configured by the first game object may further be detecting the second game object that enters a distance range specified by any interest condition and has at least one predetermined attribute corresponding to the distance range.
For example, if the interest condition of the first game object configuration is within 50 meters from the first game object, and the first game object configuration has an equipping attribute, and within 100 meters from the first game object configuration has a name attribute, then the game object with the equipping attribute located within 50 meters from the first game object can be detected, and the game object with the name attribute located within 100 meters from the first game object can be detected, corresponding rendering data can be acquired for rendering, and in the generated game screen, the first game object operated by the user can see all the game objects with the equipping attribute within 50 meters from the first game object, such as player objects, NPC objects, monster, etc. including other user maneuvers wearing weapons, accessories, or looks, etc., and all game objects within 100 meters of themselves, such as player objects, NPC objects, etc. of other user maneuvers having IDs, other game objects not having equipment attributes, such as player objects, NPC objects, monster, stones, etc. of other user maneuvers not wearing weapons, accessories, or looks, etc., and other game objects not having name attributes, such as player objects, NPC objects, dan Toudeng of other user maneuvers not having IDs, and game objects other than 100 meters of themselves, cannot be seen.
In addition to the above implementation manner, other implementation manners of setting the interest condition are also possible, and corresponding to the setting of the interest condition, other implementation manners of detecting the second game object are also possible, which is not limited.
Further, taking the example that the interest condition includes a distance range and/or at least one predetermined attribute, at least one attribute of determining that the first game object corresponds to the interest condition configuration is described.
Alternatively, taking the case that the condition of interest includes distance ranges as an example, each distance range may be preconfigured with a corresponding at least one attribute. At least one attribute corresponding to the distance range can represent the attribute of interest in the game object in the interested area of the first game object, can render visible, and does not need to render visible to other attributes in the game object. For example, the first game object is configured with interest conditions of a first distance range of 20 meters from the first game object, a second distance range of 50 meters from the first game object, and a third distance range of 100 meters from the first game object. The at least one attribute corresponding to the first distance range may include a type, a location, a name, and equipment, the at least one attribute corresponding to the second distance range may include a type, a location, and a name, and the at least one attribute corresponding to the third distance range may include a type and a location. In the generated game picture, the user can see the type, position, name and equipment of the game object in the range of 20 meters from the user by operating the first game object, and can see the type, position and name of the game object in the range of 20-50 meters from the user, and can see the type and position of the game object in the range of 50-100 meters from the user, but can not see other attributes, such as actions, of the game object in the range of 20 meters from the user, and can not see other attributes, such as equipment and actions, of the game object in the range of 20-50 meters from the user, and can not see other attributes, such as names, equipment and actions, of the game object in the range of 50-100 meters from the user, and can not see the game object outside the range of 100 meters from the user.
Fig. 4-1 shows a display schematic diagram of a game screen, in which a user manipulating a first game object can see the type, position coordinates, ID and equipment score of the NPC object A1 in a range of 20 meters from the user himself, the type, position coordinates and ID of the player B1 in a range of 20 to 50 meters from the user himself, the type, position coordinates and ID of the monster C1, and the type and position coordinates of the player D1 in a range of 50 to 100 meters from the user himself, the type and position coordinates of the NPC object E1, and the type and position coordinates of the monster F1.
Alternatively, taking the example that the interest condition includes at least one predetermined attribute, each predetermined attribute may be preconfigured with a corresponding at least one attribute. Wherein at least one attribute corresponding to the predetermined attribute may characterize an attribute of interest in the game object of interest for the first game object. For example, the interest condition of the first game object configuration is to have an equipment attribute, and to have a monster type attribute. The at least one attribute corresponding to the equipment attribute may include a position and an equipment, the at least one attribute corresponding to the monster type attribute may include a type, a position, a name and an equipment, rendering data of the corresponding attribute in the second game object is acquired to render, in a generated game screen, the user can see the position and the equipment of all game objects with the equipment attribute in the game scene by manipulating the first game object, and can see the type, the position, the name and the equipment of all game objects with the monster type attribute in the game scene, but cannot see other attributes of the game objects with the equipment attribute in the game scene, such as names, actions and the like, and cannot see other attributes of the game objects with the monster type attribute in the game scene, such as actions and the like, nor can see the game objects without the equipment attribute or the monster type attribute in the game scene.
Fig. 4-2 shows another display schematic diagram of a game screen, in which a user manipulating a first game object can see the position coordinates and arming scores of a game object A2 having arming properties in a game scene, the position coordinates and arming scores of a game object B2, the position coordinates and arming scores of a game object C2, and can see the type, position coordinates, ID, and arming scores of a monster D2, and the type, position coordinates, ID, and arming scores of a monster F2.
Optionally, taking an example that the interest condition includes a distance range and at least one predetermined attribute, each distance range and the predetermined attribute may be preconfigured with a corresponding at least one attribute. For example, the first game object is configured with interest conditions within 10 meters from the first game object and with monster type attributes. The at least one attribute corresponding to the distance range may include a type, a position, a name, equipment and chat information, the at least one attribute corresponding to the monster type attribute may include a type, a position, a name and equipment, rendering data of the corresponding attribute in the second game object is obtained, and in the generated game picture, the user can see the type, the position, the name, the equipment and the action of the game object within 10 meters from the user by manipulating the first game object, and can see the type, the position, the name and the equipment of all game objects with the monster type attribute in the game scene, cannot see other attributes of the game object within 10 meters from the user, cannot see other attributes of the game object with the monster type attribute in the game scene, and cannot see other game objects with the monster type attribute outside 10 meters from the user.
Fig. 4-3 show still another display schematic of a game screen, in which a user manipulating a first game object can see the type, position coordinates, ID, arming score, and chat information of player A3 within 10 meters from the user, and can see the type, position coordinates, ID, and arming score of monster B3, the type, position coordinates, ID, and arming score of monster C3, the type, position coordinates, ID, and arming score of monster D3, and the type, position coordinates, ID, and arming score of monster E3 in a game scene.
Alternatively, taking an example in which the interest condition includes a distance range and at least one predetermined attribute, for example, the interest condition configured by the first game object includes a first interest condition within 20 meters from the first game object and having a outfit attribute, a second interest condition within 50 meters from the first game object and having a name attribute, and a third interest condition within 1000 meters from the first game object and having a monster type attribute. The at least one attribute corresponding to the first condition of interest may include a type, a location, a name, and an equipment, the at least one attribute corresponding to the second condition of interest may include a type, a location, and a name, and the at least one attribute corresponding to the third condition of interest may include a type, a location, a name, and an equipment. In the generated game picture, a user can see the type, the position, the name and the equipment of the game object with the equipment attribute within 20 meters from the user, can see the type, the position and the name of the game object with the name attribute within 50 meters from the user, can see the type, the position, the name and the equipment of the game object with the monster type attribute within 1000 meters from the user, cannot see other attributes of the game object with the equipment attribute within 20 meters from the user, cannot see other attributes of the game object with the name attribute within 50 meters from the user, cannot see other attributes of the game object with the monster type attribute within 1000 meters from the user, cannot see other game objects with the equipment attribute within 20 meters from the user, cannot see other game objects with the name attribute within 50 meters from the user, cannot see other game objects with the monster type attribute within 1000 meters from the user, and cannot see other game objects with the monster type attribute outside the 1000 meters from the user.
Fig. 4-4 show still another display schematic of a game screen, in which a user manipulating a first game object can see the type, position coordinates, ID and equipment score of NPC object A4 within 20 meters from the user, can see the type, position coordinates and ID of player B4 within 50 meters from the user, the type, position coordinates and ID of NPC object C4, and the type, position coordinates, ID and equipment score of monster D4 within 1000 meters from the user, and the type, position coordinates, ID and equipment score of monster E4.
The display schematic diagram of each game screen is exemplified by a three-dimensional game scene, and the position coordinates of each game object in the game screen are three-dimensional coordinates. Alternatively, the method can be applied to a two-dimensional game scene and the like, and the position coordinates of each game object can be two-dimensional coordinates corresponding to the two-dimensional game scene without limitation.
Optionally, when the detected second game object meeting the interest condition only includes a part of the attribute configured by the interest condition, rendering data corresponding to the part of the attribute may be obtained only for rendering. When the second game object meeting the interest condition obtained by detection does not contain the attribute of interest condition configuration, the second game object may not be rendered, or other attributes of the second game object may be selected for rendering, and the second game object may be set according to an actual application scene without limitation.
In addition to the above implementation, there may be other implementations of at least one attribute configured corresponding to the interest condition, and the implementation is not limited.
In practical applications, the interest condition and at least one attribute may be preconfigured, and this process is described below. In some embodiments, the data processing method may further include, prior to detecting the second game object satisfying any of the interest conditions of the first game object configuration:
determining one or more attributes defined for any one of the game objects according to a predetermined data structure;
at least one query condition defined for any one game object that includes interest conditions and query results is determined.
Alternatively, the attributes of any one game object may be defined as components in accordance with a predetermined data structure. Taking the example of attributes of game objects including type, location, name, equipment, and chat information, it can be defined as follows.
The type components may be: component Metadata 1{ string meta=0 };
the location component may be: component Position 2{ double x=0 double y=1 double z=2 };
the name components may be: component Profile 3{ string name=0 };
the equipment components may be: component webon 4{string weapon_type =0 };
The chat information component may be: component Chat 5{ event Chat (string) =0 }.
Further, one or more components contained by any one game object may be determined. Taking the game object including the character object, the monster object as an example, the determination can be made as follows.
The attribute components contained by the character object may be: playerEntity Player { Metadata Position Profile Weapon Chat };
the monster object contains attribute components that may be: monsterEntity Monster { Metadata Position Profile Weapon }.
Further, at least one query condition defined for any one game object may be determined that includes the interest condition and the query result. Wherein, the query result may refer to at least one attribute configured corresponding to the interest condition. Taking the example that the condition of interest is a distance range and at least one predetermined attribute, the query condition may be defined as follows.
For example, the interest condition is within 100 meters, the location attribute is provided, the query result is type and location attribute, and the query condition can be: subscribe { results } { Metadata, position } range:100query } { Position };
the interest condition is within 50 meters, has the position attribute, the query result is the name and the equipment attribute, and the query condition can be as follows: subscribe { results } { Profile, weapon } range:50query } { Position };
The interest condition is within 10 meters, has the position attribute, inquires the chat information attribute of the result, inquire the condition can be: subscribe { results } { Chat } range:10query } { Position };
the interest condition is within 1000 meters, has monster attribute, the query result is type, position, name and equipment, and the query condition can be: subscribe { results { Metadata, position, profile, weapon } range:1000query { Metadata. Meta= 'WorldMonster' }, and the like.
Based on the above-determined at least one query condition defined for any one game object, the method of detecting a second game object satisfying any one of the interest conditions of the first game object configuration may include:
any query condition of the first game object is executed to search for a second game object meeting the interest condition according to the interest condition in the query condition. For example, the first game object may include four query conditions, the first query condition being: subscore { results } { Metadata, position } range:100query } { Position }, the second query condition is: subscribe { results } { Profile, weapon } range:50query } { Position }, the third query condition is: subscribe { results } { Chat } range:10query } { Position }, the fourth query condition is: subscore { results } { Metadata, position, profile, webon } range } { Metadata. Meta= 'world Monster' }, executing a first query, searching for a second game object having a location attribute within 100 meters from the first game object, executing a second query, searching for a second game object having a location attribute within 50 meters from the first game object, executing a third query, searching for a second game object having a location attribute within 10 meters from the first game object, and executing a fourth query, searching for a second game object having a monster type attribute within 1000 meters from the first game object.
The method of determining at least one attribute of the first game object corresponding to the interest condition configuration may include:
at least one attribute of a query result definition in a query condition is determined. For example, it may be determined that at least one attribute defined by the query result in the first query condition is a type and a location, at least one attribute defined by the query result in the second query condition is a name and an equipment, at least one attribute defined by the query result in the third query condition is chat information, and at least one attribute defined by the query result in the fourth query condition is a type, a location, a name and an equipment.
Acquiring rendering data of the second game object corresponding to the at least one attribute may include:
and searching at least one attribute defined by the query result from one or more attributes defined by the second game object according to the predetermined data structure according to the query result in the query condition, and acquiring rendering data of the second game object corresponding to the at least one attribute. For example, according to the first query condition, the type and the position attribute are searched for from one or more attributes contained in the second game object having the position attribute within 100 meters from the first game object, and corresponding rendering data is acquired, and according to the second query condition, the type, the position, the name and the equipment attribute are searched for from one or more attributes contained in the second game object having the position attribute within 50 meters from the first game object, and corresponding rendering data is acquired, and according to the third query condition, the chat information attribute is searched for from one or more attributes contained in the second game object having the position attribute within 10 meters from the first game object, and corresponding rendering data is acquired, and according to the fourth query condition, the type, the position, the name and the equipment attribute are searched for from one or more attributes contained in the second game object having the monster type attribute within 1000 meters from the first game object, and corresponding rendering data is acquired. In the game picture corresponding to the first game object generated based on the rendering data rendering, the first game object controlled by the user can see the chat information of the game object with the position attribute within the range of 10 meters from the first game object, can see the name and equipment of the game object with the position attribute within the range of 50 meters from the first game object, can see the type and position of the game object with the position attribute within the range of 100 meters from the first game object, and can see the type, position, name and equipment of the game object with the monster type attribute within the range of 1000 meters from the first game object.
By defining one or more attributes of the game object using a unified data structure, flexible configuration of query conditions for the game object can be achieved, flexibility in display control of game pictures is improved, and development costs are reduced.
Optionally, when the second game object meeting the interest condition includes a part of the attribute defined by the query result, only rendering data corresponding to the part of the attribute may be obtained for rendering. For example, in the detected second game object having a monster type attribute within 1000 meters from the first game object, if a certain object has only a type, a position, and a name attribute and does not have an equipment attribute, only rendering data corresponding to the type, the position, and the name of the object may be acquired and rendered.
Optionally, when the second game object meeting the interest condition does not include the attribute defined by the query result, the second game object may not be rendered, or other attributes of the second game object may be selected for rendering, and may be set according to the actual application scenario without limitation. For example, in the detected second game object having the position attribute within 50 meters from the first game object, if a certain second game object does not have a name or equipment, rendering data corresponding to the second game object may not be acquired, rendering may not be performed, or rendering data of other attributes of the second game object, such as a position, may be acquired, and rendering may be performed.
Alternatively, there may be other implementations of defining one or more attributes of any game object according to the predetermined data structure, and correspondingly, there may also be other implementations of determining at least one query condition defined for any game object, which may be set according to an actual application scenario, without limitation.
After the rendering data is obtained, rendering can be performed based on the rendering data so as to generate a game picture corresponding to the first game object. In practical application, when the data processing method is applied to the server, the server can send the rendering data to the client so that the client can render based on the rendering data to generate a game picture. Or, the server side can directly render and generate the game picture corresponding to the first game object by using the rendering data, and send the game picture to the client side for the client side to display.
When the data processing method is applied to the client, the client can directly render and generate the game picture corresponding to the first game object by using the rendering data and display the game picture. The process of rendering the generated picture based on the rendering data is consistent with the conventional scheme, and will not be described in detail.
Fig. 5 is a flowchart of one embodiment of a display method provided in the present application, where the method may include the following steps:
501: a display interface is provided.
In this embodiment, the method and the device can be applied to a client. The client may provide a display interface for displaying a game screen corresponding to the game object.
502: a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute is displayed on the display interface.
The second game object is a game object meeting any interest condition configured by the first game object, and at least one attribute is configured for the first game object corresponding to the interest condition.
Specifically, the determination of the second game object, the determination of the at least one attribute, and the determination of the rendering data corresponding to the at least one attribute in the second game object are described in detail in the foregoing embodiments, and will not be described herein.
In this embodiment, a game object in a game scene may be configured with any interest condition, other game objects meeting the interest condition may represent a game object interested by the game object, and at least one attribute corresponding to the interest condition may be configured, where the at least one attribute may represent an attribute interested by the game object, based on this, a second game object meeting any interest condition configured by the first game object may be detected, at least one attribute configured by the first game object corresponding to the interest condition may be determined, rendering data corresponding to the at least one attribute of the second game object may be obtained, a game picture corresponding to the first game object may be rendered and generated based on the rendering data, so that the at least one attribute of the second game object is visible to the first game object, and more refined control may be implemented by the interest condition and the configured attribute thereof, thereby improving accuracy of display control on the game picture.
In practical applications, the client interface may also include trigger controls, such as a game login/logout control, a game object movement manipulation control, and the like. A trigger operation for the first game object to enter the game scene may be sensed, or a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute may be displayed on the display interface when the first game object moves in the game scene.
In practical applications, the rendering data corresponding to at least one attribute in the second game object may be obtained by the server, and the specific process is not described in detail. Thus, in some embodiments, the display method may further include:
acquiring rendering data of at least one attribute corresponding to a second game object sent by a server;
rendering and generating a game picture corresponding to the first game object based on the rendering data; or,
and obtaining a game picture corresponding to the first game object, which is generated based on the rendering data of the second game object corresponding to at least one attribute and sent by the server.
The server side can acquire rendering data and directly send the rendering data to the client side, and the client side performs rendering to generate a final game picture. Or the server side can directly render after acquiring the rendering data, and send the generated game picture to the client side, and the client side only needs to receive and display the game picture.
Optionally, rendering data corresponding to at least one attribute in the second game object may also be obtained by the client, and a specific process is not described in detail. At this time, the client may directly acquire the rendering data and render, and generate a game screen for display.
The embodiment of the application also provides a data processing device, which can comprise the following modules:
the detection module is used for detecting a second game object meeting any interest condition of the first game object configuration;
the first determining module is used for determining at least one attribute configured by the first game object corresponding to the interest condition;
the acquisition module is used for acquiring rendering data of the second game object corresponding to at least one attribute; the rendering data is used for generating a game picture corresponding to the first game object, so that at least one attribute of the second game object is visible to the first game object in the game picture.
Optionally, the apparatus may further include:
a second determining module for determining one or more attributes defined for any one of the game objects according to a predetermined data structure;
a third determining module, configured to determine at least one query condition defined for any one game object, including an interest condition and a query result;
The detection module can be specifically used for executing any query condition of the first game object so as to search a second game object meeting the interest condition according to the interest condition in the query condition;
the first determining module may be specifically configured to determine at least one attribute defined by a query result in the query condition;
the obtaining module may be specifically configured to search, according to a query result in the query condition, at least one attribute defined by the query result from one or more attributes defined by the second game object according to a predetermined data structure; rendering data of the second game object corresponding to at least one attribute is obtained.
Optionally, the apparatus may further include:
the first sending module is used for sending rendering data of the second game object corresponding to at least one attribute to the client; or,
the rendering module is used for rendering and generating a game picture corresponding to the first game object by utilizing the rendering data of at least one attribute;
and the second sending module is used for sending the game picture to the client.
Optionally, the condition of interest may include a range of distances and/or at least one predetermined attribute;
the detection module may be specifically configured to detect a second game object that enters within a distance range specified by any interest condition of the first game object and/or has at least one predetermined attribute specified by the interest condition.
Optionally, the detection module may specifically be configured to detect the second game object that meets any interest condition of the first game object configuration in response to the first game object entering the game scene or a change in the position of the first game object in the game scene.
The data processing device in this embodiment may execute the data processing method in the embodiment shown in fig. 3, and its implementation principle and technical effects are not described herein. The specific manner in which the respective modules and units of the data processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
The embodiment of the application also provides a display device, which can comprise the following modules:
the providing module is used for providing a display interface;
a display module for displaying, on a display interface, a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute; the second game object is a game object meeting any interest condition configured by the first game object, and at least one attribute is configured for the first game object corresponding to the interest condition.
Optionally, the apparatus may further include:
the first acquisition module is used for acquiring rendering data of the second game object corresponding to at least one attribute, which is sent by the server;
the second rendering module is used for rendering and generating a game picture corresponding to the first game object based on the rendering data; or,
the second acquisition module is used for acquiring a game picture corresponding to the first game object, which is generated based on rendering data of the second game object corresponding to at least one attribute and sent by the server.
Optionally, the display module may be specifically configured to sense a trigger operation for the first game object entering the game scene or a movement operation of the first game object in the game scene, and display, on the display interface, a game screen corresponding to the first game object generated based on rendering data corresponding to at least one attribute of the second game object.
The display device in this embodiment may execute the display method in the embodiment shown in fig. 5, and its implementation principle and technical effects will not be described again. The specific manner in which the respective modules and units of the display device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
Embodiments of the present application also provide a computing device, as shown in fig. 6, which may include a storage component 601 and a processing component 602;
the storage component 601 stores one or more computer program instructions for execution by the processing component 602 to implement the data processing method illustrated in fig. 2 or 3.
In practical applications, the computing device may be implemented as a server in the system architecture shown in fig. 1.
Of course, the computing device described above may necessarily also include other components, such as input/output interfaces, communication components, and the like.
The input/output interface provides an interface between the processing component and a peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices, and the like.
The embodiment of the application further provides a computer readable storage medium storing a computer program, where the computer program can implement the data processing method shown in fig. 2 or fig. 3 when executed by a computer. The computer-readable medium may be embodied in the computing device described in the above embodiments; or may exist alone without being assembled into the computing device.
Embodiments of the present application also provide a computer program product comprising a computer program loaded on a computer readable storage medium, which computer program, when executed by a computer, can implement the data processing method shown in fig. 2 or fig. 3.
In such embodiments, the computer program may be downloaded and installed from a network, and/or installed from a removable medium. The computer program, when executed by a processor, performs the various functions defined in the system of the present application.
It should be noted that, the above-mentioned computing device may be a physical device or an elastic computing host provided by a cloud computing platform, etc. It may be implemented as a distributed cluster of multiple servers or terminal devices, or as a single server or single terminal device.
The embodiment of the application also provides an electronic device, as shown in fig. 7, the device may include a storage component 701, a processing component 702, and a display component 703;
the storage component 701 stores one or more computer program instructions for execution by the processing component 702 to implement the display method illustrated in fig. 5.
In practical applications, the electronic device may be configured with a client in the system architecture as shown in fig. 1.
Of course, the electronic device described above may necessarily also include other components, such as input/output interfaces, communication components, and the like.
The input/output interface provides an interface between the processing component and a peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices, and the like.
The embodiment of the application also provides a computer readable storage medium, which stores a computer program, and the computer program can realize the display method shown in 5 when being executed by a computer. The computer-readable medium may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device.
Embodiments of the present application also provide a computer program product comprising a computer program loaded on a computer readable storage medium, which when executed by a computer, can implement the display method shown in fig. 5.
In such embodiments, the computer program may be downloaded and installed from a network, and/or installed from a removable medium. The computer program, when executed by a processor, performs the various functions defined in the system of the present application.
The processing components referred to in the respective embodiments above may include one or more processors executing computer instructions to perform all or part of the steps of the methods described above. Of course, the processing component may also be implemented as one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic elements for executing the methods described above.
The storage component is configured to store various types of data to support operations at the terminal. The memory component may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The computer readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing, and the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (11)

1. A method of data processing, comprising:
detecting a second game object satisfying any interest condition of the first game object configuration; the interest condition includes a distance range and/or at least one predetermined attribute including one or more of the attributes possessed by the game object itself;
determining at least one attribute of the first game object corresponding to the interest condition configuration;
acquiring rendering data of the second game object corresponding to the at least one attribute; wherein the rendering data is used to generate a game screen corresponding to the first game object such that the at least one attribute of the second game object is visible to the first game object in the game screen;
Further comprises:
determining one or more attributes defined for any one of the game objects according to a predetermined data structure;
determining at least one query condition defined for any one game object, including interest conditions and query results;
the detecting a second game object that satisfies any of the interest conditions of the first game object configuration includes:
executing any query condition of the first game object to search a second game object meeting the interest condition according to the interest condition in the query condition;
the obtaining rendering data of the second game object corresponding to the at least one attribute includes:
according to the query results in the query conditions, searching at least one attribute defined by the query results from one or more attributes defined by the second game object according to the preset data structure;
acquiring rendering data of the second game object corresponding to the at least one attribute;
the determining one or more attributes defined for any one of the game objects according to the predetermined data structure includes:
the attributes of any one game object are defined as components according to a predetermined data structure, and one or more components contained in the any one game object are determined.
2. The method as recited in claim 1, further comprising:
transmitting rendering data of the second game object corresponding to the at least one attribute to a client; or,
and rendering and generating a game picture corresponding to the first game object by utilizing the rendering data of the at least one attribute, and sending the game picture to the client.
3. The method according to claim 1, wherein the condition of interest comprises a distance range and/or at least one predetermined attribute;
the detecting a second game object that satisfies any of the interest conditions of the first game object configuration includes:
a second game object is detected that enters within a distance range specified by any of the interest conditions of the first game object and/or that has at least one predetermined attribute specified by the interest conditions.
4. The method of claim 1, wherein detecting a second game object that satisfies any of the interest conditions of the first game object configuration comprises:
in response to a first game object entering a game scene or a change in position of the first game object in the game scene, a second game object satisfying any of the conditions of interest of the first game object configuration is detected.
5. A method of data processing, comprising:
detecting a second virtual object meeting any interest condition of the first virtual object configuration; the interest condition comprises a distance range and/or at least one predetermined attribute, the at least one predetermined attribute comprising one or more of the attributes possessed by the virtual object itself;
determining at least one attribute of the first virtual object corresponding to the interest condition configuration;
acquiring rendering data of the second virtual object corresponding to the at least one attribute; the rendering data is used for generating an interactive picture corresponding to the first virtual object, so that the at least one attribute of the second virtual object is visible to the first virtual object in the interactive picture;
further comprises:
determining one or more attributes defined for any one of the virtual objects according to a predetermined data structure;
determining at least one query condition defined for any one virtual object, wherein the at least one query condition comprises interest conditions and query results;
the detecting the second virtual object meeting any interest condition of the first virtual object configuration comprises:
executing any query condition of the first virtual object to search a second virtual object meeting the interest condition according to the interest condition in the query condition;
The obtaining the rendering data of the second virtual object corresponding to the at least one attribute includes:
according to the query result in the query condition, searching at least one attribute defined by the query result from one or more attributes defined by the second virtual object according to the preset data structure;
acquiring rendering data of the second virtual object corresponding to the at least one attribute;
the determining one or more attributes defined for any one of the virtual objects according to the predetermined data structure includes:
the attributes of any one of the virtual objects are defined as components according to a predetermined data structure, and one or more components contained in the any one of the virtual objects are determined.
6. A display method, comprising:
providing a display interface;
displaying a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute on the display interface; wherein the second game object is a game object satisfying any interest condition configured by the first game object, and the at least one attribute is configured by the first game object corresponding to the interest condition; the interest condition includes a distance range and/or at least one predetermined attribute including one or more of the attributes possessed by the game object itself;
Further comprises:
determining one or more attributes defined for any one of the game objects according to a predetermined data structure;
determining at least one query condition defined for any one game object, including interest conditions and query results;
the second game object is determined as follows:
executing any query condition of the first game object to search a second game object meeting the interest condition according to the interest condition in the query condition;
rendering data of the second game object corresponding to the at least one attribute is obtained as follows:
according to the query results in the query conditions, searching at least one attribute defined by the query results from one or more attributes defined by the second game object according to the preset data structure;
acquiring rendering data of the second game object corresponding to the at least one attribute;
the determining one or more attributes defined for any one of the game objects according to the predetermined data structure includes:
the attributes of any one game object are defined as components according to a predetermined data structure, and one or more components contained in the any one game object are determined.
7. The method as recited in claim 6, further comprising:
Acquiring rendering data of at least one attribute corresponding to a second game object sent by a server;
rendering and generating a game picture corresponding to the first game object based on the rendering data; or,
and acquiring a game picture corresponding to the first game object, which is generated based on rendering data of the second game object corresponding to at least one attribute and sent by the server.
8. The method of claim 6, wherein displaying, at the display interface, a game screen corresponding to the first game object generated based on rendering data of the second game object corresponding to the at least one attribute comprises:
and sensing a triggering operation of entering a game scene for a first game object or a moving operation of the first game object in the game scene, and displaying a game picture corresponding to the first game object, which is generated based on rendering data of at least one attribute corresponding to a second game object, on the display interface.
9. A computing device comprising a storage component and a processing component; the storage component stores one or more computer program instructions for the processing component to call for execution, the processing component executing the one or more computer program instructions to implement the data processing method of any one of claims 1-5.
10. An electronic device is characterized by comprising a storage component, a processing component and a display component; the storage component stores one or more computer program instructions for the processing component to call for execution, the processing component executing the one or more computer program instructions to implement the display method of any one of claims 6-8.
11. A computer-readable storage medium, in which a computer program is stored, which when executed by a computer implements the data processing method according to any one of claims 1 to 5 or the display method according to any one of claims 6 to 8.
CN202210412660.5A 2022-04-19 2022-04-19 Data processing method, display method, device and storage medium Active CN114887325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210412660.5A CN114887325B (en) 2022-04-19 2022-04-19 Data processing method, display method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210412660.5A CN114887325B (en) 2022-04-19 2022-04-19 Data processing method, display method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114887325A CN114887325A (en) 2022-08-12
CN114887325B true CN114887325B (en) 2023-08-04

Family

ID=82716688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210412660.5A Active CN114887325B (en) 2022-04-19 2022-04-19 Data processing method, display method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114887325B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106355644A (en) * 2016-08-31 2017-01-25 北京像素软件科技股份有限公司 Method and device for culling object models from three-dimensional video game pictures
CN108854070A (en) * 2018-06-15 2018-11-23 网易(杭州)网络有限公司 Information cuing method, device and storage medium in game
CN109675310A (en) * 2018-12-19 2019-04-26 网易(杭州)网络有限公司 The method and device of virtual lens control in a kind of game
CN110559659B (en) * 2019-07-09 2023-06-20 深圳市瑞立视多媒体科技有限公司 Game rendering optimization method, device, equipment and storage medium
CN110665219A (en) * 2019-10-14 2020-01-10 网易(杭州)网络有限公司 Operation control method and device for virtual reality game
CN111282273B (en) * 2020-02-05 2024-02-06 网易(杭州)网络有限公司 Virtual object display method, device and storage medium
CN111726479B (en) * 2020-06-01 2023-05-23 北京像素软件科技股份有限公司 Image rendering method and device, terminal and readable storage medium
CN112657197A (en) * 2020-12-21 2021-04-16 北京像素软件科技股份有限公司 Game role data processing method and device, electronic equipment and storage medium
CN112717388A (en) * 2020-12-29 2021-04-30 珠海金山网络游戏科技有限公司 Game object display control method and device
CN114042313A (en) * 2021-11-22 2022-02-15 北京字跳网络技术有限公司 Rendering display method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114887325A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN112691377A (en) Control method and device of virtual role, electronic equipment and storage medium
TWI818343B (en) Method of presenting virtual scene, device, electrical equipment, storage medium, and computer program product
TWI793837B (en) Method of controlling virtual object, device, electrical equipment, storage medium, and computer program product
KR20200024733A (en) Seasonal reward distribution system
CN112569599B (en) Control method and device for virtual object in virtual scene and electronic equipment
CN112138394B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
WO2022088941A1 (en) Virtual key position adjusting method and apparatus, and device, storage medium and program product
CN112669194B (en) Animation processing method, device, equipment and storage medium in virtual scene
WO2023005522A1 (en) Virtual skill control method and apparatus, device, storage medium, and program product
Punt et al. An integrated environment and development framework for social gaming using mobile devices, digital TV and Internet
KR20230042517A (en) Contact information display method, apparatus and electronic device, computer-readable storage medium, and computer program product
CN114887325B (en) Data processing method, display method, device and storage medium
EP3984608A1 (en) Method and apparatus for controlling virtual object, and terminal and storage medium
CN116843802A (en) Virtual image processing method and related product
CN114219924A (en) Method, apparatus, device, medium, and program product for adaptive display of virtual scene
CN117046111B (en) Game skill processing method and related device
Ogino et al. A distributed framework for creating mobile mixed reality systems
CN112800252B (en) Method, device, equipment and storage medium for playing media files in virtual scene
CN114247132B (en) Control processing method, device, equipment, medium and program product for virtual object
WO2024021792A1 (en) Virtual scene information processing method and apparatus, device, storage medium, and program product
WO2024060924A1 (en) Interaction processing method and apparatus for virtual scene, and electronic device and storage medium
CN116549972A (en) Virtual resource processing method, device, computer equipment and storage medium
CN118341087A (en) Virtual object management method, apparatus, device, storage medium, and program product
CN118363687A (en) Social element display method, device, equipment, medium and program product
CN116510319A (en) Virtual resource acquisition method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant