CN114887325A - 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
CN114887325A
CN114887325A CN202210412660.5A CN202210412660A CN114887325A CN 114887325 A CN114887325 A CN 114887325A CN 202210412660 A CN202210412660 A CN 202210412660A CN 114887325 A CN114887325 A CN 114887325A
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.)
Granted
Application number
CN202210412660.5A
Other languages
Chinese (zh)
Other versions
CN114887325B (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

Images

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

Abstract

The embodiment of the application provides a data processing method, a display method, equipment and a storage medium, which comprises 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, so 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 game scenes, a plurality of virtual objects are usually included, and there may be interaction requirements between different virtual objects, for example, in a game scene, there may be interaction requirements between a player object manipulated by one user and a player object manipulated by another user, and between a player object and a non-player object such as a stone, a monster, and the like.
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 will be caused, and thus, more computation resources and network resources are consumed. In order to reduce resource consumption, currently, an AOI (Area of Interest) manner is generally adopted to set a region of Interest for one virtual object, and only other virtual objects entering the region 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, equipment 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 which meets any interest condition configured by the 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, so 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 which meets any interest condition configured by the first virtual object;
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; wherein the rendering data is used to generate an interactive screen 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 screen.
In a third aspect, an embodiment of the present application provides a display method, including:
providing a display interface;
displaying a game picture corresponding to the first game object generated based on rendering data of the second game object corresponding to at least one attribute on the display interface; the second game object is a game object which meets 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 to perform 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 for invoking execution thereof, the processing component executing the one or more computer program instructions to implement the display method of the third aspect.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and 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 may be configured with an interest condition, other game objects meeting the interest condition may represent the game object in which the game object is interested, and the corresponding interest condition may be configured with at least one attribute, which may represent the attribute in which the game object is interested, based on which, a second game object meeting any interest condition configured with the first game object may be detected, at least one attribute configured with the interest condition corresponding to the first game object is determined, rendering data corresponding to the at least one attribute of the second game object is obtained, the rendering data may render and generate a game screen corresponding to the first game object, at least one attribute of the second game object is visible to the first game object, and more refined control may be achieved through the interest condition and the configured attribute thereof, the accuracy of 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, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following descriptions are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram illustrating an embodiment of a system architecture provided herein;
FIG. 2 is a flow chart illustrating 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 illustrates a display diagram of a game screen provided by the present application;
4-2 illustrate another display schematic of a game screen provided herein;
4-3 illustrate yet another display schematic of a game screen provided herein;
4-4 illustrate yet another display schematic of a game screen provided herein;
FIG. 5 is a flow chart illustrating one embodiment of a display method provided herein;
FIG. 6 illustrates a schematic structural diagram of one embodiment of a computing device provided herein;
fig. 7 shows a schematic structural diagram of an embodiment of an electronic device provided in the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the 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 above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, 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", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
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, displayed and presented through corresponding rendering data, in one virtual scene, a plurality of virtual objects are usually included, and interaction requirements exist among different virtual objects. For example, in a game scenario, there may be a need for interaction between a player object manipulated by one user and a player object manipulated by another user, and between a player object and a non-player object, such as a stone, monster, etc.
The inventor finds in 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, such a mode cannot achieve accurate display control. For a first game object, at least one attribute of a second game object that satisfies its configured condition of interest may be determined; rendering and displaying 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, which is a schematic structural diagram of a system architecture to which the technical solution of the embodiment of the present application may be applied, the system architecture may include a client 101 and a server 102. And the client and the server establish connection 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, to name a few.
A client may interact with a server over a network to receive or send data, etc.
The client may be a browser, an APP (Application), or a web Application such as H5(HyperText Markup Language5, 5 th edition) Application, or a light Application (also referred to as an applet, a light Application), or a cloud Application, and the client may be deployed in the electronic device and need to run depending on the device or some APPs in the device. The electronic device may have a display screen and support information browsing and the like, for example, may be a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, a television and the like.
The server may include a server providing various services, such as a server processing the interaction information sent by the client. 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 incorporating 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 may be capable of presenting a game screen on the display screen. The electronic device may interact with the player user through a graphical user interface, that is, the game program is downloaded and installed and executed through the electronic device, and the manner in which the client provides the graphical user interface to the player may include various manners, for example, the graphical user interface may be rendered and displayed on a display screen of the electronic device, or provided to the user through holographic projection, and the like. The server may include a server that provides various services for the game program.
The server side can send 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 suitable for cloud game scenes, the system architecture can be realized as a cloud interaction system, and cloud games can refer to a game mode based on cloud computing. In a cloud game scenario, a game screen may be generated by a server based on rendering data, and a client is used only to present the game screen, and so on.
Of course, the technical solution of the embodiment of the present application may also be applicable to a local game scene, that is, the client may render the data for local storage without interacting with the server, and the client may present the game screen of the game scene, and may present different game screens based on user control, and the like.
It should be noted that, the data processing method provided in the embodiment of the present application is generally executed by a server, and the display method is generally executed by a client. However, in other embodiments of the present application, the client may also execute the data processing method provided in the embodiment of the present application, and the server may also execute the display method provided in the embodiment of the present application. In other embodiments, the data processing method provided by the embodiment of the present application may also be executed by the client and the server together.
Fig. 2 is a flowchart of an embodiment of a data processing method provided in an embodiment of the present application, where the method may include the following steps:
201: and detecting a second virtual object meeting any interest condition 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, and the like, and the virtual object may include, without limitation, an object manipulated by a user, an object not manipulated by a user, and the like.
In the virtual scene, the user can control the object to interact with other virtual objects, such as conversation. For an object controlled by a user, an interactive picture corresponding to the object controlled by the user can be generated based on rendering data of other virtual objects in a virtual scene, so that the other virtual objects can be visible for the object controlled by the user, and interaction is facilitated.
For an object manipulated by a user, one or more interest conditions may be preconfigured, where a virtual object satisfying the interest conditions may be a virtual object that is interested in the object manipulated by the user, such as may perform instant interaction with the object manipulated by the user. The virtual objects meeting the interest condition can be rendered visible, 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 herein.
For convenience of description, an object currently manipulated by a user may be referred to as a first virtual object, and a virtual object satisfying any one of the interest conditions configured by the first virtual object in the virtual scene may be referred to as a second virtual object.
Specifically, there may be multiple implementation manners for detecting the second virtual object satisfying any interest condition configured by the first virtual object, which will be described in the following embodiments.
202: at least one attribute of the first virtual object corresponding to the condition of interest configuration is determined.
In a virtual scene, a virtual object may have attributes. The attribute may include a type, a location, a name, an action, and the like, and may be set according to an actual application scenario, without limitation. For example, the type may include an object type as manipulated by a user, an object type not manipulated by a user, and the like, and the action may include a body action, an expression action, and the like. Different virtual objects can have different attributes, and can be preset according to an actual application scene.
For the interest condition configured for the 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 attributes described above. The at least one property may characterize a property of interest of the first virtual object, rendering based on the at least one property of the other virtual object may enable the at least one property of the other virtual object to be visible to the first virtual object.
203: and acquiring rendering data of the second virtual object corresponding to at least one attribute.
The rendering data can be used for generating an interactive picture corresponding to the first virtual object, so that at least one attribute of the second virtual object is visible to the first virtual object in the interactive picture.
The second virtual object is a virtual object interested by the first virtual object, and at least one attribute in the second virtual object is an attribute interested in the virtual object interested by the first virtual object. Rendering data of the second virtual object corresponding to the at least one attribute can be acquired to generate an interactive picture corresponding to the first virtual object in a rendering mode, and therefore in the interactive picture, a user can see the interested attribute in the interested virtual object in the virtual scene by controlling the first virtual object.
In this embodiment, a virtual object in a virtual scene may be configured with any interest condition, other virtual objects that satisfy the interest condition may represent a virtual object that the virtual object is interested in, and a corresponding interest condition may be configured with at least one attribute, where the at least one attribute may represent an attribute that the virtual object is interested in, based on which, a second virtual object that satisfies any interest condition of the first virtual object configuration may be detected, at least one attribute of the first virtual object that corresponds to the interest condition configuration is determined, rendering data of the second virtual object that corresponds to the at least one attribute is obtained, the rendering data may render an interactive screen that corresponds to the first virtual object, at least one attribute of the second virtual object is visible to the first virtual object, and more refined control may be achieved by the interest condition and the configured attributes thereof, the accuracy of the display control of the interactive picture is improved.
For convenience of understanding, in one or more embodiments below, a game scene is mainly taken as an example, and the technical solution of the present application is described in detail.
Fig. 3 is a flowchart of another embodiment of a data processing method provided in the present application, where the method may include the following steps:
301: a second game object that satisfies any of the interest conditions of the first game object configuration is detected.
In this embodiment, the present invention 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 operated by a user, a character object (non-player character, NPC for short) that is not operated by the user, a non-character object (such as a stone, a monster), and the like, which is not limited in this application. In one practical application, the first game object may specifically refer to a player object, and the game object that is visible to the player object, that is, the game object that can be seen in the game screen by a user who manipulates 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 an NPC object to advance a game scenario, or to combat monster objects for experience level improvement, etc. For a player object controlled by a user, a game picture corresponding to the player object can be generated based on rendering data of other game objects in a game scene, so that the other game objects can be visible for the player object, and interaction is facilitated.
Considering that there are many game objects in a game scene, one or more interest conditions may be configured in advance for a player object manipulated by a user, where a game object satisfying the interest conditions may be a game object that is interested by the player object manipulated by the user, such as being capable of performing instant interaction with the player object manipulated by the user. The game objects meeting the interest condition can be rendered visible, 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 explained in the following embodiments, which are not described herein.
For convenience of description, a player object manipulated by a current user may be referred to as a first game object, a game object in a game scene that satisfies any interest condition configured by the first game object may be referred to as a second game object, and the second game object may include a player object manipulated by another user, a character object (NPC) that is not manipulated by the user, a non-character object (e.g., a stone, a monster), and the like.
Specifically, there are various implementations of detecting the second game object satisfying any interest condition configured by the first game object, which will be described in the following embodiments.
302: at least one attribute of the first game object corresponding to the configuration of the condition of interest is determined.
In a game scene, a game object may have an attribute. The attributes may include types, locations, names, equipment, actions, chat information, and the like, and may be set according to an actual application scenario, without limitation. For example, the type may include an object type as manipulated by a user, an NPC object type, a non-character object type, etc., the equipment may include a weapon, a look, an accessory, etc., and the action may include a body motion, an expression motion, etc.
Different game objects can have different attributes, for example, a stone object can have a type and a position attribute, a monster object can have a type, a position and an equipment attribute, an NPC object can have a type, a position, a name and an equipment attribute, an object manipulated by a user can have a type, a position, a name, equipment and action attribute, and the like, which can be preset according to an actual application scene.
At least one attribute corresponding to the interest condition configured for the first game object may be determined. The at least one attribute may include one or more of the attributes described above. The at least one attribute may characterize an attribute of interest of the first game object, rendering based on the at least one attribute in the other game objects may enable the at least one attribute in the other game objects to be visible to the first game object.
303: rendering data of the second game object corresponding to the at least one attribute is obtained.
The rendering data may be used to generate a game screen 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 screen.
The second game object is a game object interested by the first game object, and at least one attribute in the second game object is an interested attribute in the game object interested by the first game object. Rendering data of the second game object corresponding to the at least one attribute can be acquired to generate a game picture corresponding to the first game object in a rendering mode, and therefore in the game picture, a user can see the interesting attribute in the interesting game object in the game scene by controlling the first game object.
Optionally, rendering data of the first game object may be further obtained, and the rendering data of the second game object is combined to perform rendering together, so as to generate a game screen corresponding to the first game object, where the game screen 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 image may be generated by rendering together with other rendering data such as a background and a special-effect animation, and may be set according to an actual application scene without limitation.
Optionally, after the determination of 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, and then the corresponding rendering data may be obtained.
In practical applications, the rendering data of each game object may be stored in a database or a local terminal device. Optionally, when the scheme in this embodiment is applied to the server, the server may obtain rendering data of at least one attribute corresponding to the second game object from the database; optionally, when the scheme in this embodiment is applied to the client, the client may obtain, from the local storage data, rendering data of at least one attribute corresponding to the second game object.
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 in which the game object is interested, and a corresponding interest condition may be configured with at least one attribute, where the at least one attribute may represent an attribute in which the game object is interested, based on which, a second game object meeting any interest condition configured with the first game object may be detected, the at least one attribute configured with the interest condition corresponding to the first game object is determined, rendering data corresponding to the at least one attribute of the second game object is obtained, the rendering data may render a game screen corresponding to the first game object, the at least one attribute of the second game object is visible to the first game object, and more refined control may be achieved by the interest condition and the configured attribute thereof, the accuracy of game picture display control is improved. In addition, rendering is performed by acquiring rendering data corresponding to the configuration attributes, rendering resources are saved, and burden on computing resources and network resources is reduced.
In practical applications, the operation of detecting the second game object satisfying any interest condition configured by the first game object may be performed in response to the first game object entering the game scene or the position of the first game object in the game scene changing. Optionally, the condition of interest may include a distance range and/or at least one predetermined attribute.
In this case, the second game object that detects any interest condition satisfying the configuration of the first game object may be a second game object that detects that the second game object enters a distance range defined by any interest condition of the first game object and/or has at least one predetermined attribute defined by the interest condition, and various implementations are possible.
As an alternative implementation, the condition of interest may include a range of distances. At this time, detecting the second game object that satisfies any one of the interest conditions arranged for the first game object may be detecting the second game object that comes within a distance range specified by any one of the interest conditions. The distance range may be set according to an actual application scenario, such as 10 meters, 20 meters, and the like, without limitation.
The area corresponding to the distance range specified by the interest condition may represent an area in which the first game object is interested, the second game object entering the range may be a game object in which the first game object is interested, the first game object may 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 configured for the first game object is within a range of 20 meters from the first game object, the second game object located within a range of 20 meters from the first game object may be detected, the corresponding rendering data may be obtained for rendering, and in the generated game screen, the user may operate the first game object to see the game object within a range of 20 meters from the user, but cannot see the game object outside the range of 20 meters from the user.
Alternatively, position data of the first game object may be acquired, and based on the position data, a distance range specified by the condition of interest is determined to detect the second game object within the distance range.
As another alternative implementation of detecting the second game object, the condition of interest may include at least one predetermined attribute. In this case, the detection of the second game object satisfying any one of the interest conditions arranged in the first game object may be the detection of the second game object having at least one predetermined attribute defined by the interest condition. The at least one predetermined attribute may be one or more of all attributes possessed by each gaming object, such as type, equipment, and the like.
The predetermined attribute specified by the interest condition can represent the attribute of interest of the first game object, and the second game object with the predetermined attribute can be the game object of interest of the first game object and can be rendered and visible. For example, if the interest condition configured by the first game object is equipped with an equipment attribute, the second game object with the equipment attribute may be detected, the corresponding rendering data is obtained for rendering, and in the generated game screen, the first game object manipulated by the user may see all game objects with the equipment attribute in the game scene, such as player objects, NPC objects, monsters and the like manipulated by other users wearing weapons, accessories or appearances, and game objects without the equipment attribute, such as stones and the like, cannot be seen.
As yet another alternative implementation of detecting the second game object, the condition of interest may include a distance range and at least one predetermined attribute. At this time, the second game object that detects any of the interest conditions that satisfy the first game object arrangement may be a second game object that detects entry into a distance range specified by any of the interest conditions, and a second game object that has at least one predetermined attribute.
For example, if the first game object is configured with an interest condition within 50 meters of the first game object and has a monster type attribute, the second game object located within 50 meters of the first game object and the second game object having a monster type attribute in the game scene may be detected, corresponding rendering data may be obtained for rendering, and in the generated game screen, the first game object manipulated by the user may see game objects within 50 meters of the first game object and all game objects having a monster type attribute in the game scene, such as monster objects, and game objects which are not within 50 meters of the first game object and have no monster type attribute, such as NPC objects and stones, etc., cannot be seen.
As another alternative implementation manner for detecting the second game object, the interest condition may include a distance range and at least one predetermined attribute, and the second game object that satisfies any interest condition configured for the first game object may be detected to enter the distance range specified by any interest condition and has at least one predetermined attribute corresponding to the distance range.
For example, if the first game object is configured with the interest condition of being within 50 meters from the first game object and having the equipment attribute, and being within 100 meters from the first game object and having the name attribute, then the game object having the equipment attribute and being within 50 meters from the first game object can be detected, and the game object having the name attribute and being within 100 meters from the first game object can be detected, the corresponding rendering data can be obtained for rendering, and in the generated game screen, the first game object manipulated by the user can be seen within 50 meters from the first game object, all game objects having the equipment attribute, such as the player object, NPC object and monster manipulated by other users including wearing weapons, accessories or appearances, and all game objects having the name attribute, such as the player object manipulated by other users having IDs, within 100 meters from the first game object can be seen, NPC objects, etc., cannot see other game objects within 50 meters from the game itself, but not equipped with attributes, such as player objects, NPC objects, monsters, stones, etc., manipulated by other users who do not wear weapons, accessories, or appearance, etc., nor can other game objects within 100 meters from the game itself, but not equipped with name attributes, such as player objects, NPC objects, stones, etc., manipulated by other users who do not have IDs, nor can game objects beyond 100 meters from the game itself be seen.
In addition to the above implementation manners, the setting of the interest condition may also have other implementation manners, and correspondingly, the detection of the second game object may also have other implementation manners, 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 for determining the configuration of the interest condition corresponding to the first game object is described.
Optionally, taking the example that the interest condition includes a distance range, each distance range may be preconfigured with the corresponding at least one attribute. At least one attribute corresponding to the distance range can represent an attribute of the first game object interested in the game object in the interested area, rendering can be performed for visibility, and rendering for visibility of other attributes in the game object is not needed. For example, the first game object is configured with the interest condition 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. And obtaining rendering data corresponding to the attributes in the second game object for rendering, wherein in the generated game picture, the user can see the type, position, name and equipment of the game object within 20 meters away from the user by manipulating the first game object, can see the type, position and name of the game object within 20-50 meters away from the user, can see the type and position of the game object within 50-100 meters away from the user, cannot see other attributes of the game object within 20 meters away from the user, such as actions and the like, cannot see other attributes of the game object within 20-50 meters away from the user, such as equipment and actions and the like, cannot see other attributes of the game object within 50-100 meters away from the user, such as names, equipment, actions and the like, and cannot see the game object beyond 100 meters away from the user.
Fig. 4-1 shows a display 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 within 20 m from himself, can see the type, position coordinates, and ID of the player B1 within 20-50 m from himself, the type, position coordinates, and ID of the monster C1, and the type and position coordinates of the player D1 within 50-100 m from himself, the type and position coordinates of the NPC object E1, and the type and position coordinates of the monster F1.
Optionally, 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 of the first game object in the game object of interest. For example, the first game object may be configured with an equipment attribute and a monster type attribute. The at least one attribute corresponding to the attribute of the equipment may include a position and equipment, the at least one attribute corresponding to the attribute of the monster type may include a type, a position, a name, and equipment, rendering data corresponding to the attribute of the second game object is acquired to render, and in the generated game screen, the user can see the positions and equipment of all game objects with equipment attributes in the game scene by manipulating the first game object, and can see the type, location, name and equipment of all game objects in the game scene that have monster type attributes, but cannot see other attributes of the game object with equipment attributes in the game scene, such as name, action and the like, and cannot see other attributes of the game object with monster type attributes in the game scene, for example, a game object having no accessory attribute or no monster type attribute in a game scene cannot be seen.
Fig. 4-2 shows another display diagram of a game screen, and a user manipulating a first game object can see the position coordinates and equipment score of game object a2 having an equipment attribute, the position coordinates and equipment score of game object B2, the position coordinates and equipment score of game object C2, and the type, position coordinates, ID and equipment score of monster D2, and the type, position coordinates, ID and equipment score of monster F2 in a game scene.
Optionally, taking the example that the interest condition includes a distance range and at least one predetermined attribute, each of the distance range and the predetermined attribute may be preconfigured with a corresponding at least one attribute. For example, the first game object may be configured with an interest condition within 10 meters of the first game object and having a monster type attribute. The at least one attribute corresponding to the distance range may include type, position, name, equipment and chat information, the at least one attribute corresponding to the monster type attribute may include type, position, name and equipment, rendering data corresponding to the attribute in the second game object is obtained for rendering, in the generated game screen, the user manipulating the first game object can see the type, position, name, equipment and action of the game object within 10 meters of the user, and the types, positions, names and equipment of all game objects with the attribute of the monster type in the game scene can be seen, other attributes of the game objects within a range of 10 meters away from the game scene can not be seen, other attributes of the game objects with the attribute of the monster type in the game scene can not be seen, and other game objects which are out of the range of 10 meters away from the game scene and do not have the attribute of the monster type can not be seen.
Fig. 4-3 show still another display diagram of a game screen, in which a user manipulating a first game object can see the type, position coordinates, ID, equipment score, and chat information of player a3 within 10 meters from himself, and can see the type, position coordinates, ID, and equipment score of monster B3, the type, position coordinates, ID, and equipment score of monster C3, the type, position coordinates, ID, and equipment score of monster D3, and the type, position coordinates, ID, and equipment score of monster E3 in a game scene.
Optionally, for example, the interest condition configured for the first game object includes a first interest condition within a range of 20 meters from the first game object and having an equipment attribute, a second interest condition within a range of 50 meters from the first game object and having a name attribute, and a third interest condition within a range of 1000 meters from the first game object and having a monster type attribute. The at least one attribute corresponding to the first interest condition may include a type, a location, a name, and an equipment, the at least one attribute corresponding to the second interest condition may include a type, a location, and a name, and the at least one attribute corresponding to the third interest condition may include a type, a location, a name, and an equipment. Obtaining rendering data corresponding to attributes in the second game object for rendering, and generating a game picture, wherein the user can see the type, position, name and equipment of the game object with equipment attributes within 20 meters from the user, can see the type, position and name of the game object with name attributes within 50 meters from the user, can see the type, position, name and equipment of the game object with monster type attributes within 1000 meters from the user, cannot see other attributes of the game object with equipment attributes within 20 meters from the user, cannot see other attributes of the game object with name attributes within 50 meters from the user, cannot see other attributes of the game object with name attributes within 1000 meters from the user, cannot see other attributes of the game object with monster type attributes within 20 meters from the user, and cannot see other attributes of the game object with monster type attributes within 20 meters from the user, other game objects without equipment attribute can not see other game objects within 50 meters from the game object, without name attribute, within 1000 meters from the game object, without monster type attribute, or beyond 1000 meters from the game object.
Fig. 4-4 show still another display diagram of the game screen, and the user manipulating the first game object can see the type, position coordinates, ID and equipment score of the NPC object a4 within 20 m from himself, can see the type, position coordinates and ID of the player B4 within 50 m from himself, the type, position coordinates and ID of the NPC object C4, and the type, position coordinates, ID and equipment score of the monster D4 within 1000 m from himself, and the type, position coordinates, ID and equipment score of the monster E4.
The display diagram of each game screen is an example of a three-dimensional game scene, and the position coordinates of each game object in the game screen are three-dimensional coordinates. Alternatively, the method may be applied to a two-dimensional game scene, and the position coordinates of each game object may be two-dimensional coordinates, which is not limited.
Optionally, when the detected second game object that satisfies the interest condition only includes a part of attributes configured by the interest condition, rendering data corresponding to the part of attributes may be obtained only for rendering. When the detected second game object meeting the interest condition does not contain the attribute configured by the interest condition, the second game object may not be rendered, or other attributes of the second game object are selected for rendering, and the setting may be performed according to the actual application scene without limitation.
Besides the above implementation manners, there may be other implementation manners for the at least one attribute configured corresponding to the interest condition, and the implementation manners are not limited.
In practical applications, the above-mentioned interest condition and at least one attribute may be pre-configured, and the following describes the process. In some embodiments, before detecting a second game object that satisfies any of the conditions of interest configured by the first game object, the data processing method may further include:
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 of the game objects is determined that includes the interest condition and the query result.
Alternatively, the attributes of any one game object may be defined as a component in accordance with a predetermined data structure. Taking the attributes of a game object including type, location, name, equipment, and chat information as an example, 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{ 0double x ═ 1double y ═ 2 };
the name component may be: component Profile 3{ string name ═ 0 };
the equipment assembly may be: component weather 4{ string weather _ type ═ 0 };
the chat message component may be: component Chat 5{ event Chat (string) ═ 0 }.
Further, one or more components contained by any of the game objects may be determined. Taking the game object including a character object and a monster object as an example, the determination can be made as follows.
The role object contains property components that can be: playerenty Player { Metadata Position Profile week Chat };
the monster object may contain property components such as: MonsterEntity Monster { Metadata Position Profile weather }.
Further, at least one query condition defined for any one of the game objects may be determined, including the interest condition and the query result. Wherein, the query result can refer to at least one attribute configured corresponding to the interest condition. Taking the case where 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 interest condition has a location attribute, the query result is a type and a location attribute, and the query condition may be: script { results: { Metadata, Position } range:100query: { Position } };
the interest condition is within 50 meters, the interest condition has a position attribute, the query result is a name and an equipment attribute, and the query condition can be as follows: script { results: { Profile, Weapon } range:50query: { Position } };
the interest condition is within 10 meters, and the interest condition has a position attribute and a query result chat information attribute, and the query condition can be as follows: script { results: { Chat } range:10query: { Position } };
the interest condition is within 1000 meters, the interest condition has monster attributes, the query result is type, position, name and equipment, and the query condition can be: subframe { results: { Metadata, Position, Profile, weather } range:1000query: { Metadata. meta ═ WorldMonster' }, etc.
The method for detecting a second game object satisfying any interest condition configured for the first game object based on the determined at least one query condition defined for any game object may include:
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. For example, the first game object may include four query conditions, the first query condition being: the query comprises a script { results: { Metadata, Position } range:100query: { Position } }, and the second query condition is: the query conditions are as follows: the fourth query condition is as follows: the method comprises the steps of providing a first query condition, searching a first game object 100 meters away from the first game object, searching a second game object with a Position attribute, executing a second query condition, searching a second game object 50 meters away from the first game object, executing a third query condition, searching a second game object 10 meters away from the first game object and with a Position attribute, and executing a fourth query condition, searching a second game object 1000 meters away from the first game object and with a monster type attribute.
The method of determining at least one attribute of the first game object corresponding to the configuration of the condition of interest may comprise:
at least one attribute defined by the query result in the 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.
Obtaining rendering data for the second game object corresponding to the at least one attribute may include:
and according to the query result in the query condition, at least one attribute defined by the query result is searched from one or more attributes defined by the second game object according to a preset data structure, and rendering data of the second game object corresponding to the at least one attribute is obtained. For example, according to the first query condition described above, from among the one or more attributes included in the second game object having the position attribute within 100 meters from the first game object, the type and the position attribute are searched for, and the corresponding rendering data is acquired, and according to the second query condition, from among the one or more attributes included in the second game object having the position attribute within 50 meters from the first game object, the name and the equipment attribute are searched for, and the corresponding rendering data is acquired, and according to the third query condition, from among the one or more attributes included in the second game object having the position attribute within 10 meters from the first game object, the chat information attribute is searched for, and the corresponding rendering data is acquired, and according to the fourth query condition, from among the one or more attributes included in the second game object having the monster type attribute within 1000 meters from the first game object, and searching the type, the position, the name and the equipment attribute, and acquiring corresponding rendering data. Therefore, in the game screen corresponding to the first game object generated by rendering based on the rendering data, the first game object manipulated by the user can see the chat information of the game object with the position attribute within a range of 10 meters away from the first game object, can see the name and equipment of the game object with the position attribute within a range of 50 meters away from the first game object, can see the type and position of the game object with the position attribute within a range of 100 meters away from the first game object, and can see the type, position, name and equipment of the game object with the monster type attribute within a range of 1000 meters away from the first game object.
By defining one or more attributes of the game object by using the unified data structure, the flexible configuration of the query conditions of the game object can be realized, the flexibility of the display control of the game picture is improved, and the development cost is reduced.
Optionally, when the second game object that meets the interest condition contains a part of attributes defined by the query result, only rendering data corresponding to the part of attributes may be acquired for rendering. For example, if a certain object is a second game object having a monster type attribute within 1000 meters of the first game object, and does not have an equipment attribute, the rendering data corresponding to the type, position, and name of the object may be acquired and rendered.
Optionally, when the second game object that meets 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, which may be set according to the actual application scene, without limitation. For example, if a second game object having a position attribute within 50 meters of the first game object is detected, if the second game object does not have a name or equipment, rendering data corresponding to the second game object may not be acquired and rendering may not be performed, or rendering data of other attributes of the second game object, such as attributes such as position, may be acquired and rendering may be performed.
Optionally, there may be other implementation manners for defining one or more attributes of any game object according to the predetermined data structure, and correspondingly, there may be other implementation manners for 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 to generate a game picture corresponding to the first game object. In practical application, when the data processing method is applied to a server, the server can send rendering data to a client so that the client can render based on the rendering data to generate a game picture. Or, the server may also directly generate a game screen corresponding to the first game object by rendering the rendering data, and send the game screen to the client for the client to display.
When the data processing method is applied to the client, the client can directly use the rendering data to render and generate the game picture corresponding to the first game object and display the game picture. The process of generating the picture based on rendering data rendering is consistent with the conventional scheme, and is not described in detail herein.
Fig. 5 is a flowchart of an embodiment of a display method provided in the present application, which may include the following steps:
501: and providing a display interface.
In this embodiment, the method can be applied to a client. The client can provide a display interface for displaying the game picture corresponding to the game object.
502: and displaying a game picture corresponding to the first game object on the display interface, wherein the game picture is generated based on the 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 for the first game object, and at least one attribute is configured for the interest condition corresponding to the first game object.
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 have been described in detail in the foregoing embodiments, and are not repeated 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 in which the game object is interested, and a corresponding interest condition may be configured with at least one attribute, where the at least one attribute may represent an attribute in which the game object is interested, based on which, a second game object meeting any interest condition configured with the first game object may be detected, the at least one attribute configured with the interest condition corresponding to the first game object is determined, rendering data corresponding to the at least one attribute of the second game object is obtained, a game screen 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 achieved through the interest condition and the configured attribute thereof, the accuracy of game picture display control is improved.
In practical applications, the client interface may further include a trigger control, such as a game login/exit 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 picture corresponding to the first game object generated based on rendering data corresponding to at least one attribute of the second game object may be displayed on the display interface for a moving operation of the first game object in the game scene.
In practical applications, the rendering data corresponding to the at least one attribute in the second game object may be obtained by the server, and detailed descriptions are omitted. Therefore, in some embodiments, the display method may further include:
acquiring rendering data, corresponding to at least one attribute, of 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; alternatively, the first and second electrodes may be,
and acquiring a game picture corresponding to the first game object, which is generated based on rendering data of at least one attribute corresponding to the second game object and sent by the server.
The server side can obtain the 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 may also obtain rendering data and then directly render the rendering data, and send the generated game picture to the client, and the client only needs to receive and display the game picture.
Optionally, the rendering data corresponding to the at least one attribute in the second game object may also be obtained by the client, and the detailed process is not repeated. At this time, the client may directly acquire rendering data and render the rendering data, 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 configured by the first game object;
the first determining module is used for determining at least one attribute of the first game object corresponding to the interest condition configuration;
the acquisition module is used for acquiring rendering data of at least one attribute corresponding to the second game object; 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 game object, where the query condition includes an interest condition and a query result;
the detection module may be specifically configured to execute any query condition of the first game object, so as to search for a second game object that satisfies an 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 the predetermined data structure; rendering data of the second game object corresponding to the at least one attribute is obtained.
Optionally, the apparatus may further include:
the first sending module is used for sending rendering data of at least one attribute corresponding to the second game object to the client; alternatively, the first and second electrodes may be,
the rendering module is used for generating a game picture corresponding to the first game object by rendering 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 distance range and/or at least one predetermined attribute;
the detection module may be specifically configured to detect a second game object that enters the first game object within a distance range specified by any interest condition and/or has at least one predetermined attribute specified by the interest condition.
Optionally, the detection module may be specifically configured to detect, in response to the first game object entering the game scene or a position change of the first game object in the game scene, a second game object that satisfies any interest condition configured by the first game object.
The data processing apparatus in this embodiment may execute the data processing method in the embodiment shown in fig. 3, and details of the implementation principle and the technical effect are not described again. The specific manner in which each module and unit 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 herein.
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;
the display module is used for displaying a game picture which is generated on the basis of rendering data of at least one attribute corresponding to the second game object and corresponds to the first game object on a display interface; the second game object is a game object meeting any interest condition configured for the first game object, and at least one attribute is configured for the interest condition corresponding to the first game object.
Optionally, the apparatus may further include:
the first acquisition module is used for acquiring rendering data, corresponding to at least one attribute, of the second game object 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; alternatively, the first and second electrodes may be,
and the second acquisition module is used for acquiring the game picture which is generated by the server and corresponds to the first game object based on the rendering data of the second game object corresponding to at least one attribute.
Optionally, the display module may be specifically configured to sense a trigger operation for the first game object to enter 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, the game screen being generated based on rendering data of the second game object corresponding to the at least one attribute.
The display device in this embodiment may execute the display method in the embodiment shown in fig. 5, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit 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 herein.
An embodiment of the present application further provides a computing device, as shown in fig. 6, the computing device may include a storage component 601 and a processing component 602;
the storage component 601 stores one or more computer program instructions, wherein the one or more computer program instructions are invoked for execution by the processing component 602 to implement the data processing method shown in fig. 2 or fig. 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 also necessarily include other components, such as input/output interfaces, communication components, and so forth.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the computer program can implement the data processing method shown in fig. 2 or fig. 3. The computer readable medium may be embodied in the computing device described in the above embodiments; or may exist separately and not be assembled into the computing device.
Embodiments of the present application further provide a computer program product, which includes a computer program loaded on a computer-readable storage medium, and when the computer program is executed by a computer, the computer program may 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 various functions defined in the system of the present application.
It should be noted that the computing device may be a physical device or a flexible computing host provided by a cloud computing platform. It can be implemented as a distributed cluster consisting of a plurality of servers or terminal devices, or as a single server or a single terminal device.
An electronic device is further provided in the embodiments of the present application, 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 shown in fig. 5.
In practical applications, the electronic device may be configured with a client in the system architecture shown in fig. 1.
Of course, the above-described electronic device may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the display method shown in fig. 5 can be implemented. The computer-readable medium may be contained in the electronic device described in the above embodiment; or may exist separately without being assembled into the electronic device.
Embodiments of the present application further provide a computer program product, which includes a computer program carried on a computer-readable storage medium, and when the computer program is executed by a computer, the display method shown in fig. 5 can be implemented.
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 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 elements 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, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile 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 disks.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. A data processing method, comprising:
detecting a second game object which meets any interest condition configured by the 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, so that the at least one attribute of the second game object is visible to the first game object in the game screen.
2. The method of claim 1, further comprising:
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 game object, wherein the query condition comprises an interest condition and a query result;
the detecting a second game object satisfying any interest condition configured by the first game object comprises:
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 comprises:
according to the query result in the query condition, at least one attribute defined by the query result is searched from one or more attributes defined by the second game object according to the preset data structure;
and acquiring rendering data of the second game object corresponding to the at least one attribute.
3. The method of claim 1, further comprising:
sending rendering data of the second game object corresponding to the at least one attribute to a client; alternatively, the first and second electrodes may be,
and utilizing the rendering data of the at least one attribute to render and generate a game picture corresponding to the first game object, and sending the game picture to the client.
4. 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 satisfying any interest condition configured by the first game object comprises:
a second game object that comes within a distance range specified by any of the conditions of interest of the first game object and/or that has at least one predetermined attribute specified by the conditions of interest is detected.
5. The method of claim 1, wherein detecting a second game object that satisfies any of the conditions of interest configured for the first game object comprises:
in response to a first game object entering a game scene or a position change of the first game object in the game scene, a second game object meeting any interest condition configured by the first game object is detected.
6. A data processing method, comprising:
detecting a second virtual object which meets any interest condition configured by the first virtual object;
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; wherein the rendering data is used to generate an interactive screen 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 screen.
7. A display method, comprising:
providing a display interface;
displaying a game picture corresponding to the first game object generated based on rendering data of the second game object corresponding to at least one attribute on the display interface; the second game object is a game object which meets 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.
8. The method of claim 7, further comprising:
acquiring rendering data, corresponding to at least one attribute, of 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; alternatively, the first and second electrodes may be,
and acquiring a game picture which is generated by the server and corresponds to the first game object based on rendering data of at least one attribute corresponding to the second game object.
9. The method of claim 7, wherein displaying, on the display interface, the game screen corresponding to the first game object generated based on the rendering data of the second game object corresponding to the at least one attribute comprises:
the method comprises the steps of sensing a trigger operation aiming at a first game object to enter a game scene or a moving operation of the first game object in the game scene, and displaying a game picture corresponding to the first game object on the display interface, wherein the game picture is generated based on rendering data of a second game object corresponding to at least one attribute.
10. A computing device comprising a storage component and a processing component; the storage component stores one or more computer program instructions for execution by the processing component for execution by execution of the one or more computer program instructions to implement the data processing method of any of claims 1 to 6.
11. An electronic device, comprising 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 of any of claims 7 to 9.
12. A computer-readable storage medium, characterized in that a computer program is stored, which, when executed by a computer, implements the data processing method of any one of claims 1 to 6 or the display method of any one of claims 7 to 9.
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 true CN114887325A (en) 2022-08-12
CN114887325B 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)

Citations (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
CN110559659A (en) * 2019-07-09 2019-12-13 深圳市瑞立视多媒体科技有限公司 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
CN111282273A (en) * 2020-02-05 2020-06-16 网易(杭州)网络有限公司 Virtual object display method and device and storage medium
CN111726479A (en) * 2020-06-01 2020-09-29 北京像素软件科技股份有限公司 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
US20210402298A1 (en) * 2018-12-19 2021-12-30 Netease (Hangzhou) Network Co.,Ltd. Method and Apparatus for Controlling Virtual Camera in Game
CN114042313A (en) * 2021-11-22 2022-02-15 北京字跳网络技术有限公司 Rendering display method and device, computer equipment and storage medium

Patent Citations (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
US20210402298A1 (en) * 2018-12-19 2021-12-30 Netease (Hangzhou) Network Co.,Ltd. Method and Apparatus for Controlling Virtual Camera in Game
CN110559659A (en) * 2019-07-09 2019-12-13 深圳市瑞立视多媒体科技有限公司 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
CN111282273A (en) * 2020-02-05 2020-06-16 网易(杭州)网络有限公司 Virtual object display method and device and storage medium
CN111726479A (en) * 2020-06-01 2020-09-29 北京像素软件科技股份有限公司 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
CN114887325B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN113905251A (en) Virtual object control method and device, electronic equipment and readable storage medium
CN111558221B (en) Virtual scene display method and device, storage medium and electronic equipment
CN112569599B (en) Control method and device for virtual object in virtual scene and electronic equipment
TWI818343B (en) Method of presenting virtual scene, device, electrical equipment, storage medium, and computer program product
CN112891943B (en) Lens processing method and device and readable storage medium
CN111672122B (en) Interface display method, device, terminal and storage medium
CN113891140A (en) Material editing method, device, equipment and storage medium
US20230072463A1 (en) Contact information presentation
TW202217541A (en) Location adjusting method, device, equipment, storage medium, and program product for virtual buttons
CN110801629B (en) Method, device, terminal and medium for displaying virtual object life value prompt graph
CN113559510A (en) Virtual skill control method, device, equipment and computer readable storage medium
US20220032188A1 (en) Method for selecting virtual objects, apparatus, terminal and storage medium
CN114887325B (en) Data processing method, display method, device and storage medium
CN113633974B (en) Method, device, terminal and storage medium for displaying real-time user office information
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN116843802A (en) Virtual image processing method and related product
CN111589118B (en) User interface display method, device, equipment and storage medium
CN114159785A (en) Virtual item discarding method and device, electronic equipment and storage medium
KR102494361B1 (en) Determining the quality of electronic games based on the developer involvement matrix
CN113144606A (en) Skill triggering method of virtual object and related equipment
KR20210068016A (en) Data management and performance tracking system for walking or interactive virtual reality
CN114225389B (en) Virtual article collection method, device, terminal and storage medium
CN113101647B (en) Information display method, device, equipment and storage medium
WO2024067168A1 (en) Message display method and apparatus based on social scene, and device, medium and product
CN117046111B (en) Game skill processing method and related device

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