CN111672122B - Interface display method, device, terminal and storage medium - Google Patents

Interface display method, device, terminal and storage medium Download PDF

Info

Publication number
CN111672122B
CN111672122B CN202010479424.6A CN202010479424A CN111672122B CN 111672122 B CN111672122 B CN 111672122B CN 202010479424 A CN202010479424 A CN 202010479424A CN 111672122 B CN111672122 B CN 111672122B
Authority
CN
China
Prior art keywords
prop
recommended
virtual object
virtual
application running
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010479424.6A
Other languages
Chinese (zh)
Other versions
CN111672122A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010479424.6A priority Critical patent/CN111672122B/en
Publication of CN111672122A publication Critical patent/CN111672122A/en
Application granted granted Critical
Publication of CN111672122B publication Critical patent/CN111672122B/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/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • 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/30Features 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 output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Abstract

The application discloses an interface display method, an interface display device, a terminal and a storage medium, and belongs to the technical field of computer application. The method comprises the following steps: displaying a user interface; acquiring a set recommended prop set corresponding to the virtual object, wherein the set recommended prop set comprises at least one prop recommended according to a set sequence; and under the condition that the next recommended prop is determined to be the first prop according to the set sequence, if a second prop with the recommended priority higher than that of the first prop exists, displaying a selection item corresponding to the second prop in the user interface. According to the technical scheme, the second prop with the priority higher than that of the first prop is recommended, and the option of the second prop is displayed in the user interface, so that the technical problem that the recommended prop is fixed in order and flexible is solved, and the flexibility and accuracy of the recommended prop are improved.

Description

Interface display method, device, terminal and storage medium
Technical Field
The present application relates to the field of computer application technologies, and in particular, to an interface display method, an interface display apparatus, a terminal, and a storage medium.
Background
Multiplayer Online Battle Arena Games (MOBA) is a popular game.
Generally, the client of the application program displays a user interface, the user interface may include a display screen of a virtual environment and a virtual object located in the virtual environment, and the user interface may display recommended prop information for telling a user about recommended props that can be purchased at this time and purchasing the props quickly.
However, the above-mentioned order of displaying the recommended property is relatively fixed, and there is no flexibility.
Disclosure of Invention
The embodiment of the application provides an interface display method, an interface display device, a terminal and a storage medium, which can make the recommended props more flexible and accurate, and 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 of a virtual environment and a virtual object positioned in the virtual environment;
acquiring a set recommended prop set corresponding to the virtual object, wherein the set recommended prop set comprises at least one prop recommended according to a set sequence;
and under the condition that the next recommended prop is determined to be the first prop according to the set sequence, if a second prop with a recommended priority higher than that of the first prop exists, displaying a selection item corresponding to the second prop in the user interface.
In another aspect, an embodiment of the present application provides an interface display apparatus, including:
the interface display module is used for displaying a user interface, and the user interface comprises a display picture of a virtual environment and a virtual object positioned in the virtual environment;
the property acquisition module is used for acquiring a set recommended property set corresponding to the virtual object, wherein the set recommended property set comprises at least one property recommended according to a set sequence;
and the prop display module is used for displaying a selection item corresponding to a second prop in the user interface if the second prop with the recommendation priority higher than that of the first prop exists under the condition that the next recommended prop is determined to be the first prop according to the set sequence.
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 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 foregoing interface display method.
In a further aspect, an embodiment of the present application provides a computer program product, which when running on a terminal, causes the terminal to execute the method for displaying an interface.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
according to the method and the device for recommending the props, the next recommended prop is determined to be the first prop according to the set sequence corresponding to the set recommended prop set, and under the condition that the second prop with the recommended priority higher than that of the first prop exists, the option of the second prop is displayed in the user interface, the technical problem that the recommended prop sequence is fixed and flexible is solved, compared with the method and the device for recommending the props to the user according to the set sequence, a priority judgment mechanism is added on the basis, if other recommended props with higher recommended priorities exist, the other recommended props are preferentially displayed, and therefore flexibility and accuracy of the recommended props are 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 schematic diagram showing a set of recommended items;
FIG. 5 is a diagram illustrating an upgraded composition relationship between items;
FIG. 6 shows an exemplary diagram showing a selection of a second prop and a corresponding distinguishing identifier;
FIG. 7 is a flow chart of a method for displaying an interface provided by another embodiment of the present application;
FIG. 8 illustrates a flow chart of a method of detecting a set of recommended items;
FIG. 9 is a block diagram of an interface display apparatus provided in one 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.
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 player, a wearable device, a PC (Personal Computer), and the like. A client of the application program can 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, a Virtual Reality (VR) application, an Augmented Reality (AR) application, a three-dimensional map program, a social interaction application, an interactive entertainment application, 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, which is not limited in the embodiment 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.
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, and may be in the form of an animal, a cartoon, or other forms, which are 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 volumetric model created based on animated skeletal techniques. 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 can comprise 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 of the virtual environment and a virtual object located in the virtual environment.
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.
Alternatively, the application may be a gaming application, such as a MOBA-type gaming application, and the virtual object may be a user-controlled game character.
In one possible implementation, referring to fig. 3, the user interface 30 of the client may include a display layer 31 and a control layer 32, wherein the control layer 32 is located above the display layer 31. The display layer 31 is used for displaying a display screen 310 corresponding to the virtual environment and a virtual object 311 located in the virtual environment, and the control layer 32 is used for displaying a virtual control, for example, the virtual control may include a virtual joystick for controlling the movement of the virtual object, a skill button for controlling the release of the skill of the virtual object, and a selection item 320 for recommending props.
Step 202, obtaining a set recommended prop set corresponding to the virtual object, where the set recommended prop set includes at least one prop recommended according to a set sequence.
The set recommended prop set comprises recommended props in the prop recommendation scheme, and all or part of the recommended props in the prop recommendation scheme can be included in the set. Alternatively, if a certain recommended prop has been redeemed by the virtual object, the client may delete the recommended prop from the set of recommended props. The client recommends the props to the user from the set recommended props set without recommending the props to the user from all the props in the props library, so that the computing cost of the client is saved to a great extent.
The item recommendation scheme is used for recommending items suitable for the virtual object to the user. Optionally, the item recommendation scheme may be selected by the user. Optionally, the user may generate a new item recommendation scheme by modifying the item recommendation scheme recommended by the client to the user. Optionally, as further described by the following example, in one game application, after the team formation is completed, the user may select a virtual object used in the battle, after the user selects the virtual object, the client may recommend a property recommendation scheme related to the virtual object to the user for the user to select, and the user may also select a property setting property recommendation scheme or modify a recommended property in the property recommendation scheme recommended by the client by himself, so as to generate a new property recommendation scheme. The set recommended prop set is generated through the prop recommendation scheme, so that the operation time of exchanging props during program operation of a user can be saved, the user is helped to simplify the operation to be executed for exchanging virtual props, and the user experience is improved.
In an embodiment of the present application, the virtual prop may be used to change an attribute value of the virtual object. Alternatively, the attribute value of the virtual object may include values such as a damage value, a magic value, and a life value of the virtual object. The user may cause the virtual object to have the user-desired attribute value by redeeming the recommended prop.
In this embodiment of the application, the set recommended prop set includes at least one prop recommended according to a set sequence. The set sequence is a default recommendation sequence of the recommended props set by the client, and is used for recommending the virtual props to the user according to the set sequence, so that the user can conveniently and quickly exchange the recommended props at the client.
Optionally, the virtual props have an upgrade composition relationship, where the upgrade composition relationship is used to reflect a path of upgrade composition between the virtual props, and may include that a certain virtual prop is generated by a prop corresponding to the virtual prop, where the prop may be one or multiple.
Optionally, further explanation is provided by the following examples: in a game application program, the setting sequence is generated according to the upgrading synthetic relation of the recommended props, and a user sets a corresponding prop recommendation scheme for a selected virtual object before the user participates in a battle. The item recommendation scheme comprises a recommended item A and a recommended item B, wherein the recommended item A is set to be exchanged first, and the recommended item B is exchanged after the recommended item A is exchanged. The game client generates a recommended prop set according to a prop recommendation scheme, wherein the recommended prop set comprises a recommended prop A, a recommended prop B and sub props A1 and B1 corresponding to the recommended prop A and the recommended prop B respectively. The client generates a setting sequence of the recommended prop according to the recommended prop A, the recommended prop B and the upgrading synthetic relation between the sub prop A1 and the sub prop B1, wherein the setting sequence comprises the sub prop A1, the recommended prop A, the sub prop B1 and the recommended prop B in sequence.
Referring to fig. 4, a schematic diagram of a display interface 40 of a recommended item set is exemplarily shown, which includes a recommended item set bar 41, and 6 recommended items 42 are displayed in the recommended item set bar 41.
Referring to FIG. 5, a diagram illustrating an upgraded composition relationship between recommended items is shown. It is assumed that a certain recommended prop 42 can be upgraded or synthesized by a sub prop 43 corresponding to the recommended prop 42, and the sub prop 43 can be upgraded or synthesized by a sub prop 44 corresponding to the sub prop 43.
Step 203, under the condition that the next recommended prop is determined to be the first prop according to the set sequence, if a second prop with the recommended priority higher than that of the first prop exists, a selection item corresponding to the second prop is displayed in the user interface.
The client determines that the next recommended prop is a first prop according to a set sequence, and if a second prop with a higher recommended priority than the first prop exists, the client displays a selection item corresponding to the second prop in a user interface.
The recommendation priority is used for determining a recommendation order for recommending the props to the user. Optionally, the client preferentially displays the next recommended prop determined according to the set sequence. Optionally, the client may preferentially display the recommended prop with a high recommended priority, and the recommended prop may not be the next recommended prop determined according to the set order.
Optionally, a distinguishing identifier is included in a selection item corresponding to the second prop, and the distinguishing identifier is used to indicate that the second prop is a recommended prop with a recommended priority higher than that of the first prop. Optionally, the option corresponding to the second prop includes a distinguishing identifier, and the distinguishing identifier corresponds to the option corresponding to the second prop. The distinguishing identifier is used for indicating that the item recommended by the selection item is a second item, and the second item is displayed in a distinguishing manner with the selection item of the first item. The client displays the distinguishing identification corresponding to the selection item corresponding to the second prop, so that the user is prompted that the prop is the second prop with the recommendation priority higher than that of the first prop, and the user can quickly make a judgment according to the distinguishing identification. Optionally, the distinguishing mark is an icon or an aperture. Optionally, the shape of the distinguishing mark is a circle, a square, a triangle, or the like. Optionally, the distinguishing mark is displayed in a flashing or gradient color or the like. The present embodiment does not limit the display style of the distinguishing mark.
Referring to fig. 6, a schematic diagram showing a selection item of the second prop and a corresponding distinguishing mark is shown as an example. Including a mall button 60, a selection 61 corresponding to the first item, a selection 62 corresponding to the second item, and a distinguishing mark 63 corresponding to the selection 62.
To sum up, according to the technical scheme provided by the embodiment of the application, the next recommended prop is determined to be the first prop according to the setting sequence corresponding to the set recommended prop set, and under the condition that the second prop with the recommended priority higher than that of the first prop exists, the option of the second prop is displayed in the user interface, so that the technical problem that the recommended prop sequence is fixed and lacks flexibility is solved.
Referring to fig. 7, 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 the figure I. The method may comprise the following steps (701-707):
step 701, displaying a user interface.
Step 702, obtaining a set of recommended properties corresponding to the virtual object.
Step 703, acquiring application running data.
The application execution data is data for recording the execution status and content of the application program. Alternatively, the application execution data may include data such as a data model of the virtual environment, an operation record of the user, and the like. Optionally, the application running data further includes behavior data of the virtual object, and the behavior data of the virtual object is used to record various behaviors of the virtual object in the virtual environment, such as a displacement path, a real-time position, combat data, and the like.
Step 704, in response to the application running data matching the target setting rule in the setting rule set, determining a second prop based on the target setting rule.
The setting rule set may include a plurality of setting rules for the client to match the application running data. Optionally, the set of setting rules includes at least one of the following setting rules: the virtual object moves to a set position, the virtual object exchanges set props, fighting data of the virtual object is higher than a set threshold, a virtual resource value of the virtual object is higher than the set threshold, the virtual object kills the set virtual object, the virtual object exchanges first set props and second set props, and the virtual object moves to the set position for the first time. Optionally, when the application operation data matches with a certain setting rule in the setting rule set, the setting rule is a target setting rule, and the client determines the second prop based on the target setting rule. For example, when the application execution data includes a real-time position of the virtual object, the targeting rule matching the application execution data is determined as the virtual object moves to the set position. The set rules are only exemplary and explanatory, and in practical applications, the rules included in the rule set may be set according to actual situations, and may be adjusted or increased or decreased as needed, which is not limited in the embodiments of the present application.
In a possible implementation manner, a corresponding relationship between the setting rule and the virtual prop is configured in advance, and after the target setting rule is determined, the virtual prop corresponding to the target setting rule is obtained as the second prop based on the corresponding relationship.
In another possible implementation manner, the client determines the type of the preferentially recommended prop based on a target setting rule; if the set recommended prop set comprises a first target prop matched with the type of the priority recommended prop, determining the first target prop as a second prop; and if the set recommended prop set does not comprise the first target prop matched with the type of the priority recommended prop, selecting a second target prop from the prop library as a second prop.
For example, a corresponding relationship between a set rule and a prop type is configured in advance, and after the target set rule is determined, the prop type corresponding to the target set rule is obtained based on the corresponding relationship and is used as the type of the preferred recommended prop. Optionally, the prop type includes, but is not limited to, at least one of: props for increasing moving speed, props for increasing attack speed, props for increasing physical injury, props for increasing magic injury, props for increasing life value, props for increasing threshold value of life value, and props for increasing restoring force of life value. Illustratively, the target setting rule is that the virtual object moves to a set position, and the prop type corresponding to the target setting rule is a prop for increasing the moving speed. For example, in a game application, the client sets the large camp of the virtual object as a set position, and when the user controls the virtual object to return to the large camp for the first time, the client recommends a shoe prop which increases the moving speed and matches the behavior to the user.
After the type of the preferentially recommended prop is determined, if the set recommended prop set comprises the first target prop matched with the type of the preferentially recommended prop, the client determines the first target prop as the second prop, namely whether the second prop matched with the type of the preferentially recommended prop exists is preferentially searched from the set recommended prop set, so that the recommended prop with higher priority can be provided for the user on the premise of meeting the user configuration.
In addition, if the first target prop matched with the type of the priority recommended prop is not included in the set of recommended props, the second target prop is selected from the prop library as the second prop. The property library is a set of all virtual properties provided by the application program to the user, and the property library not only includes properties in the set of set recommended properties, but also includes other virtual properties except the set of set recommended properties. When a user sets a new item recommendation scheme, a client generates a new recommended item set, and recommended items in the new recommended item set come from an item library.
Step 705, obtaining the virtual resource value owned by the virtual object.
The virtual resources are used for exchanging the virtual props, such as exchanging the virtual props. Taking the game application as an example, the virtual resource may be gold coins or other virtual resources, which are obtained by the virtual object during the game-to-game process. The virtual resource value refers to the amount of the virtual resource, such as the amount of gold coins.
Step 706, if the virtual resource value owned by the virtual object is greater than or equal to the exchange value of the second prop, displaying a selection item corresponding to the second prop in the user interface.
Step 707, if the virtual resource value owned by the virtual object is smaller than the exchange value of the second prop and is greater than or equal to the exchange value of the sub-prop of the second prop, displaying a selection item corresponding to the sub-prop of the second prop in the user interface; wherein the sub-prop of the second prop is used to generate the second prop.
And the client acquires the virtual resource value owned by the virtual object and the exchange value of the second prop and compares the virtual resource value and the exchange value. The redemption value of the second prop refers to the value of the virtual resource required to redeem (e.g., purchase) the second prop. And if the virtual resource value owned by the virtual object is greater than or equal to the redemption value of the second prop, the client displays a selection item corresponding to the second prop in the user interface, which indicates that the user can redeem the second prop. If the virtual resource value owned by the virtual object is smaller than the exchange value of the second prop and is larger than or equal to the exchange value of the sub-prop of the second prop, the client displays a selection item corresponding to the sub-prop of the second prop in the user interface, which indicates that the user can exchange the sub-prop of the second prop. If the virtual resource value owned by the virtual object is smaller than the exchange value of the sub-prop of the second prop, the client does not display the second prop or the option corresponding to the sub-prop in the user interface for the moment, and the client can display the virtual resource value owned by the virtual object after the virtual resource value owned by the virtual object is larger than or equal to the exchange value of the sub-prop of the second prop.
Optionally, the step 704 may be alternatively implemented by the following step 708:
and step 708, processing the application operation data through the property recommendation model, and outputting a second property.
The item recommendation model may be a machine learning model for generating preferentially recommended items. For example, the client may input application operation data such as a virtual resource value, an attribute value, an assembled property, battle data, and the like of the virtual objects of both sides of the game to the property recommendation model, and output a second property by the property recommendation model. The prop recommendation model may be a neural network model or other types of machine learning models, which is not limited in the embodiment of the present application.
In one possible implementation, the item recommendation model may be trained from a historical usage data sample set. Alternatively, the historical usage data sample may include the user's own historical usage data as well as other user historical usage data. Alternatively, in a gaming application, the other user may be a high-handed player. The historical usage data sample may include application execution data and corresponding tag information, where the tag information refers to virtual items that the user selects to redeem in the case of the application execution data.
Optionally, as shown in fig. 8, after obtaining the set of recommended properties corresponding to the virtual object, the client may further perform the following process to determine whether there is a second property with a priority higher than that of the first property:
step 81, refreshing and setting a recommended prop set according to a fixed frame rate;
step 82, detecting whether the set recommended prop set is empty; if not, the following step 83 is executed; if yes, ending the process;
step 83, determining the next recommended first prop according to a set sequence, and detecting whether the virtual object has the authority to use the first prop; if yes, go to step 84; if not, ending the flow;
step 84, acquiring the assembled prop of the virtual object, and detecting whether the first prop conflicts with the assembled prop; if not, the following step 85 is executed; if yes, ending the process;
step 85, acquiring the assembled prop quantity of the virtual object, and detecting whether the assembled prop quantity reaches a threshold value; if not, the following step 86 is executed; if yes, ending the process;
step 86, detecting whether a second prop with a recommendation priority higher than that of the first prop exists; if yes, go to step 87; if not, the following step 88 is executed;
step 87, displaying a selection item corresponding to the second prop in the user interface;
and step 88, displaying a selection item corresponding to the first road tool in the user interface.
In summary, the technical solution provided in the embodiment of the present application provides two schemes for determining the second prop to be preferentially recommended, one of the schemes is determined based on a set rule, and the implementation of the scheme is simple, and only simple rule matching is required, so that the processing efficiency is high; the other scheme is determined based on a machine learning model, the implementation of the scheme is relatively complex, but more comprehensive and rich application operation data can be considered, and the accuracy of item recommendation is improved.
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. 9, 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, 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 900 may include: interface display module 910, prop acquisition module 920, and prop display module 930.
An interface display module 910, configured to display a user interface, where the user interface includes a display frame of a virtual environment and a virtual object located in the virtual environment.
And the property obtaining module 920 is configured to obtain a set recommended property set corresponding to the virtual object, where the set recommended property set includes at least one property recommended according to a set sequence.
The item display module 930 is configured to, when it is determined that the next recommended item is the first item according to the setting order, display, in the user interface, a selection item corresponding to the second item if a second item exists, where the recommended priority is higher than that of the first item.
In an exemplary embodiment, referring to fig. 10 in combination, the apparatus 900 further comprises: a data acquisition module 940 and a prop determination module 950.
And a data obtaining module 940, configured to obtain the application running data.
A prop determining module 950, configured to determine the second prop based on a target setting rule in a set of setting rules in response to the application running data matching the target setting rule.
In an exemplary embodiment, the prop determination module 950 is configured to:
determining the type of a preferred recommended prop based on the target setting rule;
if the set recommended prop set comprises a first target prop matched with the type of the priority recommended prop, determining the first target prop as the second prop;
and if the set recommended prop set does not comprise a first target prop matched with the type of the priority recommended prop, selecting a second target prop from a prop library as the second prop.
In an exemplary embodiment, the set of setting rules includes at least one of the following setting rules:
the virtual object moves to a set position;
the virtual object is exchanged for a set prop;
the fighting data of the virtual object is higher than a set threshold;
the virtual resource value of the virtual object is higher than a set threshold value;
the virtual object is set by killing the virtual object;
the virtual object is exchanged for a first set prop and a second set prop;
the virtual object moves to the set position for the first time.
In an exemplary embodiment, with reference to fig. 10 in combination, the apparatus 900 further comprises: a data acquisition module 940 and a prop determination module 950.
And a data obtaining module 940, configured to obtain the application running data.
And the prop determining module 950 is configured to process the application operation data through a prop recommendation model, and output the second prop. Wherein the item recommendation model is a machine learning model for generating preferentially recommended items.
In an exemplary embodiment, referring to fig. 10 in combination, the apparatus 900 further includes a prop detection module 960 for:
detecting whether the set of recommended props is empty;
responding to the fact that the recommended prop set is not empty, determining the first prop recommended next according to the set sequence, and detecting whether the virtual object has the permission to use the first prop;
responding to the virtual object having the authority of using the first prop, acquiring the assembled prop of the virtual object, and detecting whether the first prop and the assembled prop conflict or not;
responding to the fact that the first prop does not conflict with the assembled prop, obtaining the assembled prop quantity of the virtual object, and detecting whether the assembled prop quantity reaches a threshold value or not;
and responding to the quantity of the assembled props being lower than the threshold value, and detecting whether a second prop with a recommended priority higher than that of the first prop exists.
In an exemplary embodiment, a distinguishing identifier is included in a selection item corresponding to the second prop, and the distinguishing identifier is used for indicating that the second prop is a recommended prop with a recommendation priority higher than that of the first prop.
In an exemplary embodiment, the apparatus 900 further comprises: a value acquisition module 970.
A value obtaining module 970, configured to obtain a virtual resource value owned by the virtual object.
The item display module 930 is further configured to, if the value of the virtual resource owned by the virtual object is greater than or equal to the redeemed value of the second item, execute the step of displaying the selection item corresponding to the second item in the user interface.
The prop displaying module 930, further configured to display, in the user interface, a selection item corresponding to the sub-prop of the second prop if the virtual resource value owned by the virtual object is smaller than the redemption value of the second prop and is greater than or equal to the redemption value of the sub-prop of the second prop; wherein a sub-prop of the second prop is used to generate the second prop.
To sum up, according to the technical scheme provided by the embodiment of the application, the next recommended prop is determined to be the first prop according to the set sequence corresponding to the set recommended prop set, and the option of the second prop is displayed in the user interface under the condition that the second prop with the recommended priority higher than that of the first prop exists, so that the technical problem that the recommended prop sequence is fixed and flexible is not available is solved, compared with the method that the props are recommended to the user according to the set sequence, the application adds a priority judgment mechanism on the basis, if other recommended props with higher recommended priorities exist, the other recommended props are preferentially displayed, and therefore the flexibility and the accuracy of the recommended props are improved.
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 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, where the main processor is a processor for Processing data in a wake 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 above-described interface display method.
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 screen display 1105, camera 1107, 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.
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, implements the above 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 is also provided, which, when executed by a processor, is configured to implement the above interface display method.
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.

Claims (10)

1. An interface display method, characterized in that the method comprises:
displaying a user interface, wherein the user interface comprises a display picture of a virtual environment and a virtual object positioned in the virtual environment;
acquiring a set recommended prop set corresponding to the virtual object, wherein the set recommended prop set comprises at least one prop recommended according to a set sequence, and the set sequence is a default recommended sequence of the set props;
acquiring application running data, wherein the application running data is used for recording the running condition and the content of an application program, the application running data comprises behavior data of the virtual object, and the application running data comprises a real-time position;
in response to the application running data being matched with a target setting rule in a setting rule set, the client determines the type of the priority recommended prop based on the target setting rule; if the set recommended prop set comprises a first target prop matched with the type of the priority recommended prop, determining the first target prop as a second prop, wherein the second prop is a prop with a recommended priority higher than that of the first prop, the first prop is a next prop to be recommended and is determined according to the set sequence, the corresponding relation between the set rule in the set rule set and the prop type is preset, and the type of the priority recommended prop is a prop type determined through the corresponding relation and the target set rule;
when the application running data comprises the real-time position of the virtual object, determining that the target setting rule matched with the application running data is that the virtual object moves to a set position, the set position is a home screen, and when the virtual object returns to the home screen for the first time, the type of the preferentially recommended prop is a shoe prop for increasing the moving speed;
and displaying a selection item corresponding to the second prop in the user interface.
2. The method of claim 1, further comprising:
and if the set recommended prop set does not comprise a first target prop matched with the type of the priority recommended prop, selecting a second target prop from a prop library as the second prop.
3. The method of claim 2, wherein the set of setting rules comprises at least one of the following setting rules:
the virtual object is exchanged for a set prop;
the fighting data of the virtual object is higher than a set threshold;
the virtual resource value of the virtual object is higher than a set threshold value;
the virtual object kills a set virtual object;
the virtual object is exchanged for a first set prop and a second set prop;
the virtual object is moved to the set position for the first time.
4. The method of claim 1, further comprising:
acquiring application running data;
processing the application running data through a prop recommendation model, and outputting the second prop;
wherein the item recommendation model is a machine learning model for generating preferentially recommended items.
5. The method according to claim 1, wherein after obtaining the set of recommended properties corresponding to the virtual object, the method further comprises:
detecting whether the set of set recommended properties is empty;
responding to the set recommended prop set not to be empty, determining the first prop recommended next according to the set sequence, and detecting whether the virtual object has the permission to use the first prop;
responding to the virtual object having the authority of using the first prop, acquiring the assembled prop of the virtual object, and detecting whether the first prop and the assembled prop conflict or not;
responding to the fact that the first prop does not conflict with the assembled prop, obtaining the assembled prop quantity of the virtual object, and detecting whether the assembled prop quantity reaches a threshold value or not;
and responding to the quantity of the assembled props being lower than the threshold value, and detecting whether a second prop with a recommended priority higher than that of the first prop exists.
6. The method according to claim 1, wherein a distinguishing identifier is included in a selection item corresponding to the second prop, and the distinguishing identifier is used to indicate that the second prop is a recommended prop with a recommendation priority higher than that of the first prop.
7. The method according to any one of claims 1 to 6, wherein before displaying the selection item corresponding to the second prop in the user interface, further comprising:
acquiring a virtual resource value owned by the virtual object;
if the virtual resource value owned by the virtual object is greater than or equal to the redeemed value of the second prop, executing the step of displaying the option corresponding to the second prop in the user interface;
if the virtual resource value owned by the virtual object is smaller than the exchange value of the second prop and is larger than or equal to the exchange value of the sub-prop of the second prop, displaying a selection item corresponding to the sub-prop of the second prop in the user interface; wherein a sub-prop of the second prop is used to generate the second prop.
8. An interface display apparatus, the apparatus comprising:
the interface display module is used for displaying a user interface, and the user interface comprises a display picture of a virtual environment and a virtual object positioned in the virtual environment;
the property acquisition module is used for acquiring a set recommended property set corresponding to the virtual object, wherein the set recommended property set comprises at least one property recommended according to a set sequence, and the set sequence is a default recommended sequence of the set properties;
the data acquisition module is used for acquiring application running data, wherein the application running data is used for recording the running condition and the content of an application program, the application running data comprises behavior data of the virtual object, and the application running data comprises a real-time position;
the item determining module is used for responding to the matching of the application running data and a target setting rule in a setting rule set, and the client determines the type of a preferred recommended item based on the target setting rule; if the set recommended prop set comprises a first target prop matched with the type of the preferentially recommended prop, determining the first target prop as a second prop, wherein the second prop is a prop with a higher recommended priority than the first prop, the first prop is a next prop to be recommended according to the set sequence, the corresponding relation between the set rule in the set rule set and the prop type is preset, and the type of the preferentially recommended prop is a prop type determined through the corresponding relation and the target set rule; when the application running data comprises the real-time position of the virtual object, determining that the target setting rule matched with the application running data is that the virtual object moves to a set position, the set position is a home screen, and when the virtual object returns to the home screen for the first time, the type of the preferentially recommended prop is a shoe prop for increasing the moving speed;
and the prop display module is used for displaying the selection item corresponding to the second prop in the user interface.
9. 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.
10. 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 according to any one of claims 1 to 7.
CN202010479424.6A 2020-05-29 2020-05-29 Interface display method, device, terminal and storage medium Active CN111672122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479424.6A CN111672122B (en) 2020-05-29 2020-05-29 Interface display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479424.6A CN111672122B (en) 2020-05-29 2020-05-29 Interface display method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111672122A CN111672122A (en) 2020-09-18
CN111672122B true CN111672122B (en) 2023-03-24

Family

ID=72434627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479424.6A Active CN111672122B (en) 2020-05-29 2020-05-29 Interface display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111672122B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112569607B (en) 2020-12-11 2022-07-26 腾讯科技(深圳)有限公司 Display method, device, equipment and medium for pre-purchased prop
CN113398572B (en) * 2021-05-26 2022-08-09 腾讯科技(深圳)有限公司 Virtual item switching method, skill switching method and virtual object switching method
CN113546414A (en) * 2021-07-30 2021-10-26 网易(杭州)网络有限公司 Equipment purchasing method and device for game match, storage medium and computer equipment
CN114558322B (en) * 2022-03-02 2023-03-24 广州三七极耀网络科技有限公司 Method, device and equipment for searching virtual prop and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8251817B2 (en) * 2008-02-18 2012-08-28 Sony Computer Entertainment Inc. Game device, game control method, and game control program
CN104731830B (en) * 2013-12-24 2017-02-22 腾讯科技(深圳)有限公司 Recommendation method, recommendation device and server
CN105447126A (en) * 2015-11-17 2016-03-30 苏州蜗牛数字科技股份有限公司 Game prop personalized recommendation method
CN106779933A (en) * 2016-12-06 2017-05-31 腾讯科技(深圳)有限公司 A kind of virtual item recommends method and client
CN110585710B (en) * 2019-09-30 2020-12-25 腾讯科技(深圳)有限公司 Interactive property control method, device, terminal and storage medium
CN110807150A (en) * 2019-10-14 2020-02-18 腾讯科技(深圳)有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN111084987B (en) * 2019-11-19 2023-08-15 深圳市其乐游戏科技有限公司 Recommendation method and recommendation device for game props and computer readable storage medium
CN111061949A (en) * 2019-12-03 2020-04-24 深圳市其乐游戏科技有限公司 Prop recommendation method, recommendation device and computer-readable storage medium

Also Published As

Publication number Publication date
CN111672122A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN111672122B (en) Interface display method, device, terminal and storage medium
US9032307B2 (en) Computational delivery system for avatar and background game content
CN111589148B (en) User interface display method, device, terminal and storage medium
CN102099826A (en) Programming API for an extensible avatar system
CN111672111A (en) Interface display method, device, equipment and storage medium
CN113144596B (en) Chessboard picture display method and device, terminal equipment and storage medium
US11810234B2 (en) Method and apparatus for processing avatar usage data, device, and storage medium
TWI804208B (en) Method of displaying interface of game settlement, device, equipment, storage medium, and computer program product
WO2023000877A1 (en) Interface display method and apparatus, device, and storage medium
US20230347242A1 (en) User interface display method, apparatus, device, and medium
WO2023103618A1 (en) Virtual item obtaining method and apparatus, device, medium, and program product
CN111494942B (en) Animation playing method, device, terminal and storage medium
CN110801629B (en) Method, device, terminal and medium for displaying virtual object life value prompt graph
CN111905363A (en) Virtual object control method, device, terminal and storage medium
CN113617033B (en) Virtual character selection method, device, terminal and storage medium
CN113633975A (en) Virtual environment picture display method, device, terminal and storage medium
CN111589114B (en) Virtual object selection method, device, terminal and storage medium
CN111589118B (en) User interface display method, device, equipment and storage medium
CN113289335B (en) Virtual object display method, device, equipment and storage medium
CN113633974A (en) Method, device, terminal and storage medium for displaying real-time game-checking information of user
CN113018861A (en) Virtual character display method and device, computer equipment and storage medium
JP7131905B2 (en) Information processing method, server device, program, and information terminal
CN112473139A (en) Object form switching method and device, storage medium and electronic device
WO2024060914A1 (en) Virtual object generation method and apparatus, device, medium, and program product
CN113440842B (en) Content display method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028499

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant