Interface display method, device, equipment and storage medium

文档序号:1161890 发布日期:2020-09-18 浏览:13次 中文

阅读说明:本技术 界面显示方法、装置、设备及存储介质 (Interface display method, device, equipment and storage medium ) 是由 王怡然 于 2020-05-28 设计创作,主要内容包括:本申请公开了一种界面显示方法、装置、设备及存储介质,属于计算机应用技术领域。所述方法包括:显示用户界面;基于虚拟对象在虚拟环境中的位置信息,在地图展示控件中显示虚拟对象的标识;在地图展示控件中显示与虚拟对象的标识相对应的生命值提示图标。本申请实施例提供的技术方案,通过生命值提示图标向用户提示虚拟对象的生命值信息,使得用户在地图展示控件中即可直接查看到虚拟对象的生命值信息,无需手动切换显示画面来查看虚拟对象的生命值信息,使得地图展示控件中提供的信息量更加丰富可用,且提升用户对于虚拟对象的生命值查看的及时性。(The application discloses an interface display method, an interface display device, interface display equipment and a storage medium, and belongs to the technical field of computer application. The method comprises the following steps: displaying a user interface; displaying an identifier of the virtual object in the map display control based on the position information of the virtual object in the virtual environment; and displaying a life value prompt icon corresponding to the identification of the virtual object in the map display control. According to the technical scheme, the life value information of the virtual object is prompted to the user through the life value prompting icon, so that the user can directly check the life value information of the virtual object in the map display control, the display picture does not need to be manually switched to check the life value information of the virtual object, the information quantity provided in the map display control is richer and more available, and the timeliness of the user in checking the life value of the virtual object is improved.)

1. An interface display method, characterized in that the method comprises:

displaying a user interface, wherein the user interface comprises a display picture corresponding to a virtual environment and a map display control, and the map display control is a User Interface (UI) control for displaying a global map of the virtual environment;

displaying an identification of a virtual object in the map presentation control based on location information of the virtual object in the virtual environment;

and displaying a life value prompt icon corresponding to the identifier of the virtual object in the map display control, wherein the life value prompt icon is used for prompting the life value of the virtual object.

2. The method of claim 1, wherein displaying a life-value prompt icon in the map presentation control corresponding to the identification of the virtual object comprises:

displaying the life value prompt icon above the identifier of the virtual object in the map display control;

and in the process that the position of the virtual object identifier in the map display control changes, the relative position between the life value prompt icon and the virtual object identifier is kept unchanged.

3. The method of claim 1, wherein prior to displaying the life value prompt icon corresponding to the identification of the virtual object in the map presentation control, further comprising:

acquiring a life value of the virtual object;

in response to the life value of the virtual object being less than the threshold, sending a preload command to a server, the preload command being used to trigger the server to instruct clients participating in the opposite office to load a life value prompt icon corresponding to the virtual object;

receiving a first frame synchronization command from the server, wherein the first frame synchronization command comprises icon loading indication information, and the icon loading indication information is used for indicating that a life value prompt icon corresponding to the virtual object is loaded.

4. The method of claim 3, wherein after displaying the life-value prompting icon corresponding to the identification of the virtual object in the map presentation control, further comprising:

in response to the life value of the virtual object being greater than the threshold, sending a cancel load command to the server, the cancel load command being used to trigger the server to instruct clients participating in the opposite office to cancel loading of a life value prompt icon corresponding to the virtual object;

receiving a second frame synchronization command from the server, wherein the second frame synchronization command comprises loading canceling indication information, and the loading canceling indication information is used for indicating that a life value prompt icon corresponding to the virtual object is canceled and loaded;

and canceling the display of the life value prompt icon corresponding to the identification of the virtual object in the map display control.

5. The method of any of claims 1-4, wherein displaying a life-value cue icon in the map presentation control corresponding to the identification of the virtual object comprises:

displaying a life value prompt icon corresponding to the identifier of the second virtual object in the map display control;

the second virtual object refers to a virtual object which is in a different stand from the first virtual object controlled by the client.

6. The method of any of claims 1-4, wherein the map presentation control comprises a first display style and a second display style, wherein the size of the second display style is larger than the size of the first display style;

the method further comprises the following steps:

receiving a style switching instruction corresponding to the map display control under the condition that the map display control is displayed in the first display style;

and switching the map display control from the first display style to the second display style according to the style switching instruction, wherein the information quantity displayed in the second display style is larger than the information quantity displayed in the first display style.

7. The method according to any one of claims 1 to 4, further comprising:

displaying an energy value prompt icon corresponding to the identification of the virtual object in the map display control, wherein the energy value prompt icon is used for prompting the energy value of the virtual object for releasing skills;

and/or the presence of a gas in the gas,

displaying a skill prompt icon corresponding to the identification of the virtual object in the map display control, wherein the equipment prompt icon is used for prompting that the skill of the virtual object is in a disabled state or a cooling state;

and/or the presence of a gas in the gas,

displaying an equipment prompting icon corresponding to the identifier of the virtual object in the map display control, wherein the equipment prompting icon is used for prompting that equipment of the virtual object is in a damaged state;

and/or the presence of a gas in the gas,

and displaying a grade prompt icon corresponding to the identifier of the virtual object in the map display control, wherein the grade prompt icon is used for prompting the grade of the virtual object.

8. An interface display method, characterized in that the method comprises:

receiving a preloading command from a first client, wherein the preloading command is used for triggering a server to instruct clients participating in the game to load a life value prompt icon corresponding to a virtual object, and the life value prompt icon is used for prompting the life value of the virtual object;

generating a first frame synchronization command, wherein the first frame synchronization command comprises icon loading indication information, the icon loading indication information is used for indicating that a life value prompt icon corresponding to the virtual object is loaded, the life value prompt icon is correspondingly displayed by the client in a map display control of a virtual environment and an identifier of the virtual object, and the map display control is a User Interface (UI) control for displaying a global map of the virtual environment;

and sending the first frame synchronization command to the clients participating in the opposite office, wherein the clients participating in the opposite office comprise the first client.

9. The method of claim 8, wherein after sending the first frame synchronization command to the clients participating in the peer, further comprising:

receiving a cancel load command from a first client, wherein the cancel load command is used for triggering the server to indicate to clients participating in the opposite office to cancel the load of the life value prompt icon corresponding to the virtual object;

generating a second frame synchronization command, wherein the second frame synchronization command comprises loading canceling indication information, and the loading canceling indication information is used for indicating that the life value prompt icon corresponding to the virtual object is canceled and loaded;

and sending the second frame synchronization command to the client participating in the opposite office.

10. The method according to claim 8 or 9, wherein after receiving the preload command from the first client, further comprising:

performing a compliance check on the preload command, the compliance check including at least one of: data accuracy verification, behavior validity verification and repeated command verification;

in response to the preload command passing the compliance check, performing the step of generating a first frame synchronization command.

11. An interface display apparatus, the apparatus comprising:

the system comprises an interface display module, a map display module and a map display module, wherein the interface display module is used for displaying a user interface, the user interface comprises a display picture corresponding to a virtual environment and a map display control, and the map display control is a User Interface (UI) control used for displaying a global map of the virtual environment;

the identification display module is used for displaying the identification of the virtual object in the map display control based on the position information of the virtual object in the virtual environment;

and the icon display module is used for displaying a life value prompt icon corresponding to the identifier of the virtual object in the map display control, and the life value prompt icon is used for prompting the life value of the virtual object.

12. An interface display apparatus, the apparatus comprising:

the command receiving module is used for receiving a preloading command from a first client, the preloading command is used for triggering the server to instruct clients participating in the opposite office to load a life value prompt icon corresponding to the virtual object, and the life value prompt icon is used for prompting the life value of the virtual object;

the command generation module is used for generating a first frame synchronization command, the first frame synchronization command comprises icon loading indication information, the icon loading indication information is used for indicating loading of a life value prompt icon corresponding to the virtual object, the life value prompt icon is correspondingly displayed by the client in a map display control of a virtual environment and an identifier of the virtual object, and the map display control is a User Interface (UI) control used for displaying a global map of the virtual environment;

and the command sending module is used for sending the first frame synchronization command to the clients participating in the opposite office, wherein the clients participating in the opposite office comprise the first client.

13. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the interface display method according to any one of claims 1 to 7.

14. A server, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the interface display method according to any one of claims 8 to 10.

15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the interface display method of any one of claims 1 to 7 or the interface display method of any one of claims 8 to 10.

Technical Field

The present application relates to the field of computer application technologies, and in particular, to an interface display method, apparatus, device, and storage medium.

Background

Multiplayer Online Battle Arena Games (MOBA) is a popular game.

Generally, the client of the application program displays a user interface, and the user interface may include a display screen corresponding to the virtual environment. When a user wants to view a target virtual object (such as other virtual objects in a different arrangement from the virtual object controlled by the user), the user can adjust the field of view by performing a sliding operation in the user interface, and can search for a suitable field of view by continuously sliding, so that a display screen corresponding to the virtual environment around the target virtual object is displayed in the user interface.

However, the above method requires the user to continuously slide to find a suitable view to see the relevant situation of the target virtual object, and the timeliness is low.

Disclosure of Invention

The embodiment of the application provides an interface display method, an interface display device, an interface display equipment and a storage medium, and the life value information of a virtual object can be directly displayed in a map display control, so that the information quantity provided in the map display control is richer and more usable, and the timeliness of checking the life value of the virtual object by a user is improved. The technical scheme is as follows:

in one aspect, an embodiment of the present application provides an interface display method, where the method includes:

displaying a User Interface, wherein the User Interface comprises a display picture corresponding to a virtual environment and a map display control, and the map display control is a User Interface (UI) control for displaying a global map of the virtual environment;

displaying an identification of a virtual object in the map presentation control based on location information of the virtual object in the virtual environment;

and displaying a life value prompt icon corresponding to the identifier of the virtual object in the map display control, wherein the life value prompt icon is used for prompting the life value of the virtual object.

On the other hand, an embodiment of the present application provides an interface display method, including:

receiving a preloading command from a first client, wherein the preloading command is used for triggering a server to instruct clients participating in the game to load a life value prompt icon corresponding to a virtual object, and the life value prompt icon is used for prompting the life value of the virtual object;

generating a first frame synchronization command, wherein the first frame synchronization command comprises icon loading indication information, the icon loading indication information is used for indicating that a life value prompt icon corresponding to the virtual object is loaded, the life value prompt icon is correspondingly displayed with an identifier of the virtual object in a map display control of a virtual environment by the client, and the map display control is a UI control used for displaying a global map of the virtual environment;

and sending the first frame synchronization command to the clients participating in the opposite office, wherein the clients participating in the opposite office comprise the first client.

In another aspect, an embodiment of the present application provides an interface display apparatus, where the apparatus includes:

the system comprises an interface display module, a map display module and a map display module, wherein the interface display module is used for displaying a user interface, the user interface comprises a display picture corresponding to a virtual environment and a map display control, and the map display control is a UI control used for displaying a global map of the virtual environment;

the identification display module is used for displaying the identification of the virtual object in the map display control based on the position information of the virtual object in the virtual environment;

and the icon display module is used for displaying a life value prompt icon corresponding to the identifier of the virtual object in the map display control, and the life value prompt icon is used for prompting the life value of the virtual object.

In another aspect, an embodiment of the present application provides an interface display apparatus, where the apparatus includes:

the command receiving module is used for receiving a preloading command from a first client, the preloading command is used for triggering the server to instruct clients participating in the opposite office to load a life value prompt icon corresponding to the virtual object, and the life value prompt icon is used for prompting the life value of the virtual object;

the command generation module is used for generating a first frame synchronization command, the first frame synchronization command comprises icon loading indication information, the icon loading indication information is used for indicating loading of a life value prompt icon corresponding to the virtual object, the life value prompt icon is correspondingly displayed by the client in a map display control of a virtual environment and an identifier of the virtual object, and the map display control is a UI control used for displaying a global map of the virtual environment;

and the command sending module is used for sending the first frame synchronization command to the clients participating in the opposite office, wherein the clients participating in the opposite office comprise the first client.

In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the above-mentioned client-side interface display method.

In another aspect, an embodiment of the present application provides a server, where the server includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the server-side interface display method.

In another aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the above-mentioned interface display method on the client side or the above-mentioned interface display method on the server side.

In a further aspect, the present application provides a computer program product, which when running on a terminal, causes the terminal to execute the above method for displaying an interface on a client side.

In a further aspect, an embodiment of the present application provides a computer program product, which, when running on a server, causes the server to execute the method for displaying an interface on the server side.

The technical scheme provided by the embodiment of the application can bring the following beneficial effects:

the life value prompting icon corresponding to the identification of the virtual object is displayed in the map display control of the user interface, and the life value information of the virtual object is prompted to the user through the life value prompting icon, so that the user can directly check the life value information of the virtual object in the map display control without manually switching a display picture to check the life value information of the virtual object, the information quantity provided in the map display control is richer and more available, and the timeliness of the user for checking the life value of the virtual object is improved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a schematic diagram of an application execution environment provided by one embodiment of the present application;

FIG. 2 is a flow chart of an interface display method provided by an embodiment of the present application;

FIG. 3 illustrates a schematic diagram of a user interface;

FIG. 4 illustrates a diagram of a map presentation control displaying a life value prompt icon;

FIG. 5 illustrates a schematic diagram of a user interface displaying a life value prompt icon;

FIG. 6 is a flow chart of a method for displaying an interface provided by another embodiment of the present application;

FIG. 7 is a block diagram of an interface display apparatus provided in one embodiment of the present application;

FIG. 8 is a block diagram of an interface display apparatus provided in another embodiment of the present application;

FIG. 9 is a block diagram of an interface display apparatus provided in another embodiment of the present application;

FIG. 10 is a block diagram of an interface display apparatus provided in another embodiment of the present application;

fig. 11 is a block diagram of a terminal according to an embodiment of the present application;

fig. 12 is a block diagram of a server according to an embodiment of the present application.

Detailed Description

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

Referring to fig. 1, a schematic diagram of an application execution environment according to an embodiment of the present application is shown. The application execution environment may include: a terminal 10 and a server 20.

The terminal 10 may be an electronic device such as a mobile phone, a tablet Computer, a game console, an electronic book reader, a multimedia playing device, a wearable device, a PC (Personal Computer), and the like. A client of the application may be installed in the terminal 10.

In the embodiment of the present application, the application may be any application that can provide a virtual environment for a virtual object substituted and operated by a user to perform an activity in the virtual environment. Typically, the application is a Game application, such as Multiplayer Online tactical sports (MOBA), big fly survival (BR), Third-Person Shooting Game (TPS), First-Person Shooting Game (FPS), and Multiplayer gunfight type survival games, among others. Of course, in addition to game applications, other types of applications may present virtual objects to a user and provide corresponding functionality to the virtual objects. For example, the application program may be a Virtual Reality (VR) application program, an Augmented Reality (AR) application program, a three-dimensional map program, a military simulation program, a social contact application program, an interactive entertainment application program, and the like, which are not limited in this embodiment of the present application. In addition, for different applications, the forms of the virtual objects provided by the applications may also be different, and the corresponding functions may also be different, which may be configured in advance according to actual requirements, and this is not limited in the embodiments of the present application. Optionally, a client of the above application program runs in the terminal 10. In some embodiments, the application is an application developed based on a three-dimensional virtual environment engine, for example, the virtual environment engine is a Unity engine, and the virtual environment engine can construct a three-dimensional virtual environment, a virtual object, a virtual prop, and the like, so as to bring a more immersive game experience to the user.

The virtual environment is a scene displayed (or provided) by a client of an application program (such as a game application program) when the client runs on a terminal, and the virtual environment refers to a scene created for a virtual object to perform an activity (such as a game competition), such as a virtual house, a virtual island, a virtual map, a virtual building, and the like. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional environment, or a pure fictional environment. The virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in this embodiment of the present application. Optionally, the virtual environment is also used for virtual environment engagement between at least two virtual objects, in which virtual resources are available for use by the at least two virtual objects. Optionally, the virtual environment comprises a symmetrical lower left corner region and an upper right corner region, the virtual objects belonging to two enemy camps occupy one of the regions respectively, and the target building/site/base/crystal deep in the other region is destroyed to serve as a winning target.

The virtual object may be a virtual character controlled by the user account in the application program, or may be a virtual character controlled by the computer program in the application program. Taking the application as a game application as an example, the virtual object may be a game character controlled by the user account in the game application, or may be a game monster controlled by a hormone in the game application. The virtual object may be in the form of a character, an animal, a cartoon or other forms, which is not limited in this application. The virtual object may be displayed in a three-dimensional form or a two-dimensional form, which is not limited in the embodiment of the present application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional stereo model created based on an animated skeleton technique. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment. In the embodiment of the present application, the terminal 10 may receive an operation of a virtual object, determine an effective execution range according to a set execution range of the operation and a visible boundary range in a virtual environment, and further select a target virtual object corresponding to the operation from the effective execution range.

In one possible embodiment, the virtual objects include virtual objects in the same camp and virtual objects in different camps, that is, in the application, the virtual objects are divided into different camps. Illustratively, taking the MOBA game as an example, ten users play the matching game, and the matching game is divided into two teams of a red party and a blue party, namely, every five persons are in one group, at this time, the virtual objects in the red party and the red party are in the same formation and are in a teammate relationship, the virtual objects in the blue party and the blue party are in the same formation and are in a teammate relationship, and the virtual objects in the red party and the blue party are in different formations and are in a hostile relationship.

The server 20 is used to provide background services for clients of applications in the terminal 10. For example, the server 20 may be a backend server for the application described above. The server 20 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. Optionally, the server 20 provides background services for applications in multiple terminals 10 simultaneously.

Alternatively, the terminal 10 and the server 20 may communicate with each other through the network 30.

Referring to fig. 2, a flowchart of an interface display method according to an embodiment of the present application is shown. The method is applicable to a terminal, and the execution subject of each step may be the terminal 10 (hereinafter, simply referred to as "client") in the application execution environment shown in fig. 1. The method comprises the following steps (201-203):

step 201, displaying a user interface.

The user interface is a screen of an application program displayed to a user at a client, and the application program may be a computer program to be downloaded and installed or a computer program to be used on demand. Alternatively, the application may be any application capable of providing a virtual environment, such as a gaming application.

In the embodiment of the application, when receiving a starting instruction of an application triggered by a user, a client can control the application to run and display a user interface corresponding to the application. Optionally, the user interface includes a display screen and a UI control corresponding to the virtual environment. Optionally, the UI control comprises a map presentation control. Taking a game application program as an example, after starting game play, a display picture and a map display control corresponding to the virtual environment are displayed in the user interface.

The display screen is used for displaying a virtual environment, and the display screen may include the virtual environment, and a virtual object, a virtual article, a virtual building, and the like located in the virtual environment. Optionally, the display may display a portion of the virtual environment. Optionally, the display may display a portion of the virtual environment near where the first virtual object is located, which may be a virtual object controlled by a user account to which the client is currently logged in.

The UI controls described above refer to any visual control or element that is visible (without excluding hidden displays) on the user interface of the application, such as controls for pictures, input boxes, text boxes, buttons, tabs, and the like. Some of the UI controls are capable of responding to user actions. For example, a skill control can be used to control the first virtual object to release the skill. And triggering the skill control by the user to control the first virtual object to release the skill.

The map presentation control is a UI control for presenting a global map of the virtual environment. The global map of the virtual environment is used for expressing the spatial distribution, connection, quantity and quality characteristics of various things in the virtual environment and the development change state of the various things in the virtual environment in time. The global map displayed in the map display control can be in a two-dimensional (2D) or three-dimensional (3D) form, so that the situation of the current virtual environment can be quickly and intuitively reflected to a user, and the user can conveniently make a use strategy and implement operation. Optionally, the map display control is a UI operation control, and can receive a user operation and respond, for example, support responding to operations of a user, such as clicking, dragging, zooming, and the like. Optionally, the display scale of the map display control includes an enlarged scale and a default scale, the user may control the map display control to be displayed in the enlarged scale by clicking, or may control the map display control to be displayed in the default scale by clicking, and the display size of the enlarged scale is larger than the display size of the default scale. The user clicks a certain position of the virtual environment map in the map display control, the client receives the click operation signal, and the displayed picture is switched from the currently displayed virtual environment picture to the virtual environment picture corresponding to the position so as to observe the real-time situation of the position in the virtual environment. And the user changes the display position of the map display control in the user interface through dragging operation so as to observe the part of the display picture, which is shielded by the map display control. Optionally, the map display control is displayed according to a certain transparency. Taking a game application as an example, the map display control may also be referred to as a map or a minimap, and is used for displaying the topography and landform of the virtual environment provided by the game application in a two-dimensional or three-dimensional form, such as the positions of a grand camp, an attack line, a defense tower, a river, a tree, and the like. Optionally, the map display control displays the virtual environment according to a default reduction scale, and the map display control can also display the virtual environment according to a reduction scale larger than the default reduction scale, so that the display content of the map display control is clearer, and the map display control is convenient for a user to observe. Optionally, the map display control may be hidden, and after the map display control is hidden, a map display control icon is displayed on the user interface, and the user may resume the display of the map display control by operating the map display control icon. Optionally, the map display control may be a map display control of all regions in the virtual environment, or may be a map display control of a partial region in the virtual environment.

In a possible implementation manner, please refer to fig. 3, the user interface 30 of the client may include a display screen 31 and a map display control 32 corresponding to the virtual environment, the display screen 31 may include a virtual object 310, a virtual building 311, and the like, and the content displayed on the display screen 31 is not limited to the above.

In a possible implementation manner, referring to fig. 4, the map display control 32 may display an attack line 320, a virtual building identifier 321, a virtual object identifier 322, and the like, and specific contents displayed by the map display control are not limited in this embodiment.

Step 202, displaying the identifier of the virtual object in the map display control based on the position information of the virtual object in the virtual environment.

The position information is used to indicate the position of the virtual object in the virtual environment, and the position information may be coordinate values of the virtual object in the virtual environment. Alternatively, when the virtual environment is in two-dimensional form, the position information may be represented in two-dimensional coordinates (x, y). Alternatively, when the virtual environment is in three-dimensional form, the position information may be represented in three-dimensional coordinates (x, y, z).

The identifier of the virtual object is used for identifying the virtual object, and reflecting the position of the virtual object in the virtual environment in the map display control, and the client displays the identifier of the virtual object at the corresponding position in the map display control according to the position information of the virtual object. The identifier of the virtual object may be an avatar of the virtual object or an avatar of the user, which is not limited in the present application. Optionally, the identifier of the virtual object may reflect the formation where the virtual object is located through different features, for example, color features, image features, text identifiers, and the like, which is not limited in this embodiment of the application.

Optionally, the client reads application data of the virtual environment, where the application data includes location information of the virtual object in the virtual environment. Optionally, the client may read the application data of the virtual environment according to a fixed frame rate, where the fixed frame rate may be preset by a client program developer in a program development process, or may be set by the client according to a preset algorithm.

And the client displays the identification of the virtual object at the corresponding position in the map display control according to the read position information of the virtual object in the virtual environment, so that a user can conveniently and visually observe the position of the virtual object in the virtual environment and formulate a proper fighting strategy. Alternatively, when the virtual environment is in a three-dimensional form, the method for determining the corresponding position may be to display the identifier of the virtual object in the map display control according to the plane coordinate value (x, y) of the three-dimensional coordinate value (x, y, z) in the position information.

And step 203, displaying a life value prompt icon corresponding to the identifier of the virtual object in the map display control.

The life value prompt icon is an icon for prompting the life value of the virtual object.

Optionally, the life value prompt icon is an icon for prompting that the life value of the virtual object is less than a threshold value. The threshold may be a percentage or may be an actual value. For example, when the life value of the virtual object is less than 20%, displaying a life value prompt icon corresponding to the identification of the virtual object in the map display control; for another example, when the life value of the virtual object is less than 1000, a life value prompt icon corresponding to the identification of the virtual object is displayed in the map presentation control. When the threshold is a percentage, the ratio of the current life value of the virtual object to its total life value is calculated and then compared to the threshold. When the threshold is an actual value, the current life value of the virtual object is directly compared with the threshold.

Optionally, the life value prompt icon is used for prompting the real-time life value of the virtual object, so that a user can directly know the real-time life value of the enemy or own virtual object in the map display control, a display picture does not need to be switched to view, and user operation is simplified. Optionally, the life value prompt icon is a pie graph or a ring graph, and the size of the real-time life value of the virtual object relative to the total life value is displayed in a two-dimensional or three-dimensional format. Optionally, the life value prompt icon is a bar-shaped bar, the real-time life value of the virtual object is filled on one side of the bar-shaped bar in a color block manner, and the size of the real-time life value of the virtual object relative to the total life value is displayed by the length of the filled color block.

Optionally, the life value prompt icon includes at least two display styles, and different display styles correspond to different life value levels. The above-mentioned life value level is used to reflect the degree to which the life value of the virtual object is at most low, and the life value level may include primary low blood volume, secondary low blood volume, and tertiary low blood volume. Alternatively, the vital value classes may also include mild low blood volume, general low blood volume, severe low blood volume. Alternatively, the threshold may be a plurality of actual values or percentages set in advance by the client developer, and the life value level interval may be divided according to the plurality of set actual values or percentages.

The life value level interval is used as a basis for the client to judge the life value level of the virtual object. Alternatively, when the percentage of the virtual object life value is less than 50% and equal to or greater than 25%, the client may determine that the life value level of the virtual object is slightly low blood volume. Alternatively, when the percentage of the virtual object life value is less than 25% and equal to or greater than 10%, the client may determine that the life value level of the virtual object is generally low blood volume. Alternatively, when the percentage of the virtual object life value is below 10%, the client may determine that the life value level of the virtual object is severely low blood volume. The user can quickly judge the vital value characteristics of the virtual object according to the vital value levels.

Alternatively, the base color of the life value prompting icon may be yellow to prompt the life value level of the virtual object to be slightly low in blood volume. Alternatively, the base color of the life value prompt icon may be red, for prompting that the life value level of the virtual object is generally low blood volume. Optionally, the vital value prompt icon may flash to indicate that the vital value level of the virtual object is severely low blood volume. Alternatively, the life value prompt icon may be triangular, square, circular, etc. in shape. In the embodiment of the application, the display style of the life value prompt icon is not limited. The user can quickly and intuitively determine the life value condition of the virtual object based on the life value prompt icon displayed in the map display control, and pertinently select the virtual object with the low life value for attack, so that the pertinence and the purpose of the user operation are improved. The client displays a life value prompt icon corresponding to the identifier of the virtual object in the map display control, and the life value prompt icon can be displayed above the identifier of the corresponding virtual object. Optionally, the vital value prompting icon may also be located at an upper side, a lower side, a left side, a right side, and the like of the virtual object identifier, and a display position of the vital value prompting icon is not limited in this embodiment of the application.

In one possible implementation, with combined reference to fig. 4 and 5, fig. 4 illustrates a map presentation control 32 displaying a life value prompt icon. Wherein the life value prompting icon 323 is displayed above the identifier 322 of the virtual object, fig. 5 shows a user interface 30 displaying the life value prompting icon. The user interface 30 includes a display screen 31 of the virtual environment and a map display control 32, the display screen 31 of the virtual environment includes a virtual object 310 and a virtual object life value bar 312, the virtual object life value bar 312 displays a life value of the virtual object 310, at this time, the life value of the virtual object 310 is lower than a threshold, and the client displays a life value prompt icon 323 corresponding to an identifier 322 of the virtual object in the map display control 32.

Optionally, during the process that the position of the virtual object identifier in the map display control changes, the relative position between the life value prompt icon and the virtual object identifier is kept unchanged. By the method, the user can conveniently and intuitively know the real-time position of the virtual object with the low life value, and a corresponding fighting strategy is formulated.

In one possible embodiment, the virtual objects include virtual objects in the same camp and virtual objects in different camps, that is, in the application, the virtual objects are divided into different camps. Illustratively, taking the MOBA game as an example, ten users play the matching game, and the matching game is divided into two teams of a red party and a blue party, namely, every five persons are in one group, at this time, the virtual objects in the red party and the red party are in the same formation and are in a teammate relationship, the virtual objects in the blue party and the blue party are in the same formation and are in a teammate relationship, and the virtual objects in the red party and the blue party are in different formations and are in a hostile relationship.

Optionally, a life value prompt icon corresponding to the identification of the second virtual object is displayed in the map presentation control. The second virtual object refers to a virtual object that is in a different stand from the first virtual object controlled by the client. Of course, in some other examples, the second virtual object may also refer to a virtual object in the same stand as the first virtual object controlled by the client.

Optionally, the second virtual object is a virtual object which is in different camps with the first virtual object controlled by the user and has a life value smaller than a preset threshold, so that the user can intuitively know life value information and a position of the virtual object of the enemy, and thus an attack strategy is timely formulated and a fighter is mastered. Optionally, the second virtual object is a virtual object which is in the same marketing as the first virtual object controlled by the user and has a life value smaller than a preset threshold, so that the user can visually know the life value information and the position of the own virtual object, a rescue strategy can be timely formulated, and danger can be eliminated. Optionally, the second virtual object may also be a virtual object whose life value is smaller than a preset threshold value, which is in different camps with the first virtual object controlled by the user and is closest to the first virtual object, so that the user can intuitively know the enemy virtual object which is closest to the first virtual object and has a low life value in the map display control, and the efficiency and accuracy of the user in implementing enemy behavior can be improved. Optionally, the second virtual object may also be a virtual object whose life value is smaller than a preset threshold, which is in the same arrangement as the first virtual object controlled by the user and is closest to the first virtual object, so that the user can intuitively know a local virtual object which is closest to the first virtual object and has a low life value in the map display control, and the efficiency and accuracy of the behavior of the user for implementing the own rescue party are improved. In a possible implementation manner, the user can change the display screen content to a virtual environment near the position where the corresponding virtual object is located by operating the identifier of the virtual object in the map display control.

In an exemplary embodiment, in addition to the life value prompt icon, icons with other functions, such as an energy value prompt icon, a skill prompt icon, an equipment prompt icon, a level prompt icon, and the like, may be displayed in the map display control.

Optionally, an energy value prompt icon corresponding to the identifier of the virtual object is displayed in the map display control, and the energy value prompt icon is used for prompting the energy value of the virtual object for releasing the skill, so that a user can know the energy value condition of the enemy or own virtual object for releasing the skill in time according to the energy value of the virtual object, and a proper fighting strategy is formulated. Optionally, the energy value prompt icon is used for prompting that the energy value of the virtual object for releasing the skill is lower than a threshold value. It should be noted that the threshold set for the energy value and the threshold set for the life value are not related to each other, and are two different thresholds. The threshold set for the energy value may be referred to herein as a second threshold, and the above-described threshold set for the vital value may be referred to as a first threshold.

Optionally, a skill prompt icon corresponding to the identifier of the virtual object is displayed in the map display control, the equipment prompt icon is used for prompting that the skill of the virtual object is in a disabled state or a cooling state, so that a user can know the disabled state or the cooling state of the skill of an enemy or own virtual object in time according to the disabled state or the cooling state of the skill of the virtual object, and a proper fighting strategy is formulated.

Optionally, an equipment prompt icon corresponding to the identifier of the virtual object is displayed in the map display control, and the equipment prompt icon is used for prompting that the equipment of the virtual object is in a damaged state, so that a user can know the equipment damage condition of an enemy or own virtual object in time according to the equipment damage state of the virtual object, and grasp a fighter to attack the enemy in time.

Optionally, a level prompt icon corresponding to the identifier of the virtual object is displayed in the map display control, and the level prompt icon is used for prompting the level of the virtual object, so that a user can know the development condition of the virtual object in time according to the level of the virtual object and adjust and select the carried equipment and props in time.

Optionally, the map display control comprises a first display style and a second display style, and the size of the second display style is larger than that of the first display style. Optionally, the map display control is displayed according to the first display style at a default scale, and the map display control is displayed according to the second display style at an enlarged scale.

Optionally, the method provided in the embodiment of the present application further includes: receiving a style switching instruction corresponding to the map display control under the condition that the map display control is displayed in a first display style; and switching the map display control from the first display style to a second display style according to the style switching instruction, wherein the information quantity displayed in the second display style is larger than the information quantity displayed in the first display style. The style switching instruction is an operation instruction used for triggering the map display control to switch from the first display style to the second display style or switch from the second display style to the first display style. For example, the style switching instruction may be triggered by clicking a corresponding icon, voice, gesture, or the like, which is not limited in this embodiment of the application.

Optionally, the amount of information displayed in the second display style is greater than the amount of information displayed in the first display style, which is embodied in, but not limited to, the following aspects:

the number of the virtual objects displayed by the map display control in the second display style is larger than that of the virtual objects displayed by the map display control in the first display style. For example, the map display control displays an enemy virtual object closest to the first virtual object controlled by the user in the first display style, and displays enemy virtual objects visible in all views in the second display style; for another example, the map display control displays a local virtual object closest to the first virtual object controlled by the user in the first display style, and displays local virtual objects visible in all the fields of view in the second display style; for another example, the map display control displays a local virtual object and an enemy virtual object that are closest to the first virtual object controlled by the user in the first display style, and displays all virtual objects visible in all fields of view in the second display style.

The number of the prompt icons corresponding to the virtual objects displayed by the map display control in the second display style is larger than that of the prompt icons corresponding to the virtual objects displayed by the map display control in the first display style. For example, the map display control displays the enemy virtual object life value prompt icon in the first display style, and displays icons with other functions of the enemy virtual object, such as an energy value prompt icon, a skill prompt icon, a device prompt icon, a level prompt icon and the like, besides the enemy virtual object life value prompt icon in the second display style; for another example, the map display control displays the virtual object life value prompt icons visible in all the fields of view in the first display style, and displays icons with other functions, such as an energy value prompt icon, a skill prompt icon, an equipment prompt icon, a level prompt icon, and the like, in addition to the virtual object life value prompt icons visible in all the fields of view in the second display style.

The map display control of the first display style only displays the identifier of the virtual object, and the map display control of the second display style also displays the corresponding prompt icon besides the identifier. For example, the map display control only displays the identifiers of the virtual objects visible in all the fields of view in the first display style, and displays the corresponding prompt icons of the virtual objects visible in all the fields of view, such as a life value prompt icon, an energy value prompt icon, a skill prompt icon, an equipment prompt icon, a level prompt icon, and the like, in addition to the identifiers of the virtual objects visible in all the fields of view in the second display style.

To sum up, according to the technical scheme provided by the embodiment of the application, the life value prompt icon corresponding to the identification of the virtual object is displayed in the map display control of the user interface, and the life value information of the virtual object is prompted to the user through the life value prompt icon, so that the user can directly check the life value information of the virtual object in the map display control, the display picture does not need to be manually switched to check the life value information of the virtual object, the information amount provided in the map display control is richer and more usable, and the timeliness of checking the life value of the virtual object by the user is improved.

In addition, because the virtual object with the low life value is marked in the map display control through the life value prompt icon, a user does not need to manually switch a display picture to search the virtual object with the low life value, the user can quickly acquire the virtual object with the low life value only by looking up the map display control, and then the virtual object is controlled to take proper operation on the virtual object with the low life value, so that the control efficiency of the user on the virtual object is improved.

In addition, different information amounts are displayed in different display styles of the map display control, basic information is displayed in the first display style, and rich information is displayed in the second display style, so that the efficiency and the richness of the map display control for displaying the information to a user are improved, the user can select the display style of the map display control according to actual conditions, and information required by the user is obtained.

Referring to fig. 6, a flowchart of an interface display method according to another embodiment of the present application is shown. The method can be applied to the application program running environment shown in fig. 1. The method can comprise the following steps (601-607):

step 601, the first client displays a user interface.

The user interface comprises a display picture and a map display control corresponding to the virtual environment.

In step 602, the first client displays an identifier of the virtual object in the map display control based on the location information of the virtual object in the virtual environment.

Step 603, the first client obtains the life value of the virtual object.

In response to the life value of the virtual object being less than the threshold, the first client sends a preload command to the server, step 604.

The preload command is used to trigger the server to instruct the clients participating in the session to load the content. Optionally, the preload command may include application data information and an instruction to load the content. Clients participating in a session refer to clients running the same virtual environment. Taking the MOBA game as an example, ten users play the matching game, and the client participating in the game match may be a game client used by the ten users. The application data information is used for reflecting the operation condition of the client, optionally, the application data information may include a life value of the virtual object, and the server may comprehensively and accurately know the operation condition of the client according to the application data information. The indication loading content is used for reflecting the content to be loaded by the client, optionally, the indication loading content may include loading a life value prompt icon corresponding to the virtual object, and the server may know the content to be loaded by the client in advance according to the indication loading content to help the server to control the legality of the client behavior.

Optionally, the preload command is used to trigger the server to instruct clients participating in the opposite office to load a life value prompt icon corresponding to the virtual object.

Optionally, the preload command may also be sent to the server by a second client, where the second client is any one of the clients participating in the opposite office except the first client, so that the server knows the operating conditions of the clients participating in the opposite office, and the synchronization of the virtual environment is ensured.

Accordingly, the server receives a preload command from the first client.

In step 605, the server generates a first frame synchronization command.

The frame synchronization command is used for instructing the clients participating in the opposite office to run synchronously. Alternatively, the first frame synchronization command may include synchronization data information and loading indication information. The synchronous data information is used for determining specific content of synchronous data of the client participating in the opposite office, optionally, the synchronous data information may include a life value of the virtual object, and the client may ensure that the running data after synchronization is consistent according to the synchronous data information. The loading indication information is used for specifying specific contents that the client participating in the opposite office needs to synchronize, and optionally, the loading indication information may include that the command contents sent by the server to the client are the same, so that the client can run synchronously.

Optionally, the first frame synchronization command includes icon loading indication information. The icon loading indication information is used for indicating that a life value prompt icon corresponding to the virtual object is loaded, and the life value prompt icon is correspondingly displayed with the identifier of the virtual object in the map display control of the virtual environment by the client.

Optionally, after receiving the preload command from the first client, the server further includes: the preload command is subjected to a compliance check. Compliance checking is used for consistency rule checking. Optionally, the compliance check comprises at least one of: data accuracy verification, behavior validity verification and repeated command verification. The server can prevent the condition that the simulation frame synchronization package is hung outside in the client participating in the opposite office through the compliance check, and when the network quality connected with the client is poor, the user can easily repeat the operation, and at the moment, the server can avoid the command from being repeatedly executed through the compliance check. In response to the preload command passing the compliance check, the server performs the step of generating a first frame synchronization command.

In step 606, the server sends a first frame synchronization command to the clients participating in the office.

Optionally, the clients participating in the game comprise the first client.

Accordingly, the first client receives a first frame synchronization command from the server.

In step 607, the first client displays a life value prompt icon corresponding to the identifier of the virtual object in the map display control.

The life value prompt icon is used for prompting the life value of the virtual object. Optionally, the life value prompt icon is used for prompting that the life value of the virtual object is smaller than a threshold value.

Optionally, the method provided by this embodiment further includes the following steps (608-611):

in response to the life value of the virtual object being greater than the threshold, the first client sends a cancel load command to the server, step 608.

The cancel load command is used for triggering the server to indicate the cancel load content to the client participating in the opposite office. Optionally, the cancel load content may include a life value prompt icon indicating that the virtual object is to be canceled. The server can know the content to be unloaded by the client in advance according to the unloading content, and help the server to control the legality of the behavior of the client.

Accordingly, the server receives a cancel load command from the first client.

In step 609, the server generates a second frame synchronization command.

Optionally, the second frame synchronization command may further include loading cancellation indication information, where the loading cancellation indication information is used to indicate that the loading of the life value prompt icon corresponding to the virtual object is cancelled, and when the life value of the virtual object is restored to be higher than the threshold, the client may cancel displaying the life value prompt icon corresponding to the virtual object in time, so as to timely and accurately reflect the condition of the virtual object.

The server sends a second frame synchronization command to the clients participating in the office alignment, step 610.

Accordingly, the first client receives a second frame synchronization command from the server.

Step 611, the first client cancels to display the life value prompt icon corresponding to the identifier of the virtual object in the map display control.

In summary, according to the technical scheme provided by the embodiment of the application, the preloading instruction is sent after the life value of the virtual object is judged to be lower than the threshold value in real time, and then the first frame synchronization command is received to load the life value prompt icon, so that the technical effect of displaying the low life value condition of the virtual object in the map display control in real time is achieved. In addition, a loading canceling instruction is sent after the life value of the virtual object is judged to be higher than the threshold value in real time, and then a second frame synchronization command is received to cancel the loading of the life value prompt icon, so that the technical effect of canceling the display of the low life value condition of the virtual object in the map display control in real time is achieved. By the scheme, the synchronization and consistency of the life value prompt icons displayed by the clients are guaranteed.

In the above embodiments, the technical solution of the present application is described only from the perspective of interaction between the client and the server, and the steps executed by the client may be implemented as an interface display method on the client side, and the steps executed by the server may be implemented as an interface display method on the server side.

The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.

Referring to fig. 7, a block diagram of an interface display apparatus according to an embodiment of the present application is shown. The device has the function of realizing the interface display method at the client side, and the function can be realized by hardware or by hardware executing corresponding software. The device may be a terminal or may be provided in a terminal. The apparatus 700 may include: an interface display module 710, an identification display module 720 and an icon display module 730.

The interface display module 710 is configured to display a user interface, where the user interface includes a display frame corresponding to the virtual environment and a map display control, and the map display control is a UI control for displaying a global map of the virtual environment.

And an identifier display module 720, configured to display an identifier of the virtual object in the map display control based on the location information of the virtual object in the virtual environment.

And the icon display module 730 is configured to display a life value prompt icon corresponding to the identifier of the virtual object in the map display control, where the life value prompt icon is used for prompting the life value of the virtual object.

In an exemplary embodiment, the icon display module 730 is configured to display a life value prompt icon above the identification of the virtual object in the map presentation control. And in the process that the position of the identifier of the virtual object in the map display control changes, the relative position between the life value prompt icon and the identifier of the virtual object is kept unchanged.

In an exemplary embodiment, referring to fig. 8 in combination, the apparatus 700 further includes: a life acquisition module 740, a command transmission module 750, and a command reception module 760.

The life obtaining module 740 is configured to obtain a life value of the virtual object.

And a command sending module 750, configured to send, in response to that the life value of the virtual object is less than the threshold, a preload command to the server, where the preload command is used to trigger the server to instruct, to the clients participating in the opposite office, to load the life value prompt icon corresponding to the virtual object.

The command receiving module 760 is configured to receive a first frame synchronization command from the server, where the first frame synchronization command includes icon loading indication information, and the icon loading indication information is used to indicate that a life value prompt icon corresponding to the virtual object is loaded.

In an exemplary embodiment, the command sending module 750 is further configured to send, to the server, a cancel load command in response to the life value of the virtual object being greater than the threshold, the cancel load command being used to trigger the server to instruct the clients participating in the opposite office to cancel loading the life value prompt icon corresponding to the virtual object.

The command receiving module 760 is further configured to receive a second frame synchronization command from the server, where the second frame synchronization command includes cancel loading indication information, and the cancel loading indication information is used to indicate that the life value prompt icon corresponding to the virtual object is canceled to be loaded. And the icon display module is also used for canceling the display of the life value prompt icon corresponding to the identifier of the virtual object in the map display control.

In an exemplary embodiment, the icon display module 730 is configured to display a life value cue icon in the map presentation control corresponding to the identification of the second virtual object. The second virtual object is a virtual object which is in different camps with the first virtual object controlled by the client and has a life value smaller than a threshold value.

In an exemplary embodiment, the map presentation control includes a first display style and a second display style, the second display style having a size larger than a size of the first display style. The apparatus 700 further comprises: the style switching module 770 is configured to receive a style switching instruction corresponding to the map display control when the map display control is displayed in the first display style; and switching the map display control from the first display style to a second display style according to the style switching instruction, wherein the information quantity displayed in the second display style is larger than the information quantity displayed in the first display style.

In an exemplary embodiment, the icon display module 730 is further configured to:

displaying an energy value prompt icon corresponding to the identification of the virtual object in the map display control, wherein the energy value prompt icon is used for prompting the energy value of the virtual object for releasing skills; and/or the presence of a gas in the gas,

displaying a skill prompt icon corresponding to the identification of the virtual object in the map display control, wherein the equipment prompt icon is used for prompting that the skill of the virtual object is in a disabled state or a cooling state; and/or the presence of a gas in the gas,

displaying an equipment prompting icon corresponding to the identifier of the virtual object in the map display control, wherein the equipment prompting icon is used for prompting that equipment of the virtual object is in a damaged state; and/or the presence of a gas in the gas,

and displaying a grade prompt icon corresponding to the identifier of the virtual object in the map display control, wherein the grade prompt icon is used for prompting the grade of the virtual object.

To sum up, according to the technical scheme provided by the embodiment of the application, the life value prompt icon corresponding to the identification of the virtual object is displayed in the map display control of the user interface, and the life value information of the virtual object is prompted to the user through the life value prompt icon, so that the user can directly check the life value information of the virtual object in the map display control, the display picture does not need to be manually switched to check the life value information of the virtual object, the information amount provided in the map display control is richer and more usable, and the timeliness of checking the life value of the virtual object by the user is improved.

In addition, because the virtual object with the low life value is marked in the map display control through the life value prompt icon, a user does not need to manually switch a display picture to search the virtual object with the low life value, the user can quickly acquire the virtual object with the low life value only by looking up the map display control, and then the virtual object is controlled to take proper operation on the virtual object with the low life value, so that the control efficiency of the user on the virtual object is improved.

Referring to fig. 9, a block diagram of an interface display apparatus according to another embodiment of the present application is shown. The device has the function of realizing the interface display method on the server side, and the function can be realized by hardware or by hardware executing corresponding software. The device may be a server or may be provided in a server. The apparatus 900 includes: a command receiving module 910, a command generating module 920, and a command transmitting module 930.

A command receiving module 910, configured to receive a preload command from a first client, where the preload command is used to trigger a server to instruct clients participating in the opposite office to load a life value prompt icon corresponding to the virtual object, and the life value prompt icon is used to prompt a life value of the virtual object.

The command generating module 920 is configured to generate a first frame synchronization command, where the first frame synchronization command includes icon loading indication information, the icon loading indication information is used to indicate that a life value prompt icon corresponding to the virtual object is loaded, the life value prompt icon is displayed by the client in a map display control of the virtual environment in correspondence with an identifier of the virtual object, and the map display control is a user interface UI control used to display a global map of the virtual environment.

A command sending module 930, configured to send a first frame synchronization command to clients participating in the opposite office, where the clients participating in the opposite office include the first client.

In an exemplary embodiment, the command receiving module 910 is further configured to receive a cancel load command from the first client, where the cancel load command is used to trigger the server to instruct the clients participating in the opposite office to cancel loading the life value prompt icon corresponding to the virtual object.

The command generating module 920 is further configured to generate a second frame synchronization command, where the second frame synchronization command includes cancel loading indication information, and the cancel loading indication information is used to indicate that the life value prompt icon corresponding to the virtual object is canceled to be loaded.

The command sending module 930 is further configured to send a second frame synchronization command to the clients participating in the opposite office, where the clients participating in the opposite office include the first client.

In an exemplary embodiment, referring to fig. 10 in combination, the apparatus 900 may further include: a compliance checking module 940.

A compliance checking module 940 for performing a compliance check on the preload command, the compliance check including at least one of: data accuracy verification, behavior validity verification and repeated command verification.

The command generating module 920 is further configured to generate a first frame synchronization command in response to the preload command passing the compliance check.

In summary, according to the technical scheme provided by the embodiment of the application, the preloading instruction is sent after the life value of the virtual object is judged to be lower than the threshold value in real time, and then the first frame synchronization command is received to load the life value prompt icon, so that the technical effect of displaying the low life value condition of the virtual object in the map display control in real time is achieved. In addition, a loading canceling instruction is sent after the life value of the virtual object is judged to be higher than the threshold value in real time, and then a second frame synchronization command is received to cancel the loading of the life value prompt icon, so that the technical effect of canceling the display of the low life value condition of the virtual object in the map display control in real time is achieved. By the scheme, the synchronization and consistency of the life value prompt icons displayed by the clients are guaranteed.

It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.

Referring to fig. 11, a block diagram of a terminal 1100 according to an embodiment of the present application is shown. The terminal 1100 may be an electronic device such as a mobile phone, a tablet computer, a game console, an electronic book reader, a multimedia player, a wearable device, a PC, etc. The terminal is used for implementing the interface display method on the client side provided in the above embodiment. The terminal may be the terminal 10 in the game play environment of fig. 1. Specifically, the method comprises the following steps:

in general, terminal 1100 includes: a processor 1101 and a memory 1102.

Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.

Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1102 is used to store at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the client-side interface display method described above.

In some embodiments, the terminal 1100 may further include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display screen 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.

Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of terminal 1100, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.

Referring to fig. 12, a block diagram of a server according to an embodiment of the present application is shown. The server may be a server, and may be configured to execute the server-side interface display method provided in the foregoing embodiment.

Specifically, the method comprises the following steps:

the server 1200 includes a Central Processing Unit (CPU) 1201, a system Memory 1204 including a Random Access Memory (RAM) 1202 and a Read Only Memory (ROM) 1203, and a system bus 1205 connecting the system Memory 1204 and the CPU 1201. The server 1200 also includes a basic Input/Output system (I/O) 1206, which facilitates transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1212.

The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1208 and an input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.

The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the server 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact disk Read-Only Memory) drive.

Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.

According to various embodiments of the present application, the server 1200 may also operate as a remote computer connected to a network through a network, such as the Internet. That is, the server 1200 may be connected to the network 1212 through a network interface unit 1211 connected to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).

The memory also includes a computer program stored in the memory and configured to be executed by the one or more processors to implement the server-side interface display method described above.

In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which when executed by a processor of a terminal, implements the above-described client-side interface display method.

In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions which, when executed by a processor of a server, implements the above-described server-side interface display method.

Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State drive), or optical disc. The Random Access Memory may include a ReRAM (resistive Random Access Memory) and a DRAM (Dynamic Random Access Memory).

In an exemplary embodiment, a computer program product for implementing the above-mentioned client-side interface display method when the computer program product runs on a terminal is also provided.

In an exemplary embodiment, a computer program product is also provided for implementing the above-mentioned server-side interface display method when the computer program product runs on a server.

It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.

The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:虚拟环境的显示方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类