CN115300904A - Recommendation method and device, electronic equipment and storage medium - Google Patents

Recommendation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115300904A
CN115300904A CN202210869500.3A CN202210869500A CN115300904A CN 115300904 A CN115300904 A CN 115300904A CN 202210869500 A CN202210869500 A CN 202210869500A CN 115300904 A CN115300904 A CN 115300904A
Authority
CN
China
Prior art keywords
role
recommended
roles
user
target
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.)
Pending
Application number
CN202210869500.3A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210869500.3A priority Critical patent/CN115300904A/en
Publication of CN115300904A publication Critical patent/CN115300904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting 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/55Controlling game characters or game objects based on the game progress
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Optics & Photonics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a recommendation method, a recommendation device, electronic equipment and a storage medium; according to the method and the device, the key recommended role can be determined from a plurality of preset recommended roles, and a preset relation exists between the key recommended role and the role in the user field; determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool; determining a target recommended role from a plurality of key recommended roles according to the acquisition probability; and recommending the target recommended role to the user. In the embodiment of the application, a target recommended role can be determined from a plurality of key recommended roles by obtaining the probability, and the target recommended role is recommended to a user, wherein the target recommended role is convenient for the user to obtain from a shared role pool, so that the target recommended role is easy to adopt by the user. Thus, effective information can be recommended to the user.

Description

Recommendation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a recommendation method, apparatus, electronic device, and storage medium.
Background
A User Interface (UI) is a medium for interaction and information exchange between a system and a User, and it realizes conversion between an internal form of information and a human-acceptable form. For example, the game UI may include virtual characters, prop icons, and the like, and the user may drop the virtual characters in the battlefield by dragging the virtual characters, so that the virtual characters may automatically perform a specific game action in the battlefield. However, in the current game, the virtual characters with different attributes have problems of complex operation, reduced user experience and the like because a user needs to spend a great deal of effort to select the virtual character entering the battlefield after the game is played.
Disclosure of Invention
The embodiment of the application provides a recommendation method, a recommendation device, an electronic device and a storage medium, which can realize effective information recommendation to a user.
The embodiment of the application provides a recommendation method, which provides a graphical user interface through a terminal device, wherein the content of the graphical user interface at least partially comprises virtual roles, the virtual roles comprise user presence roles, and the user presence roles are controlled by a user through the terminal device, and the recommendation method comprises the following steps:
determining a key recommended role from a plurality of preset recommended roles, wherein a preset relationship exists between the key recommended role and a user in-field role;
determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool;
determining a target recommended role from a plurality of key recommended roles according to the acquisition probability;
and recommending the target recommended role to the user.
The embodiment of the present application further provides a recommendation apparatus, which provides a graphical user interface through a terminal device, where content of the graphical user interface at least partially includes virtual roles, the virtual roles include user presence roles, and the user presence roles are controlled by a user through the terminal device, and the recommendation apparatus includes:
the role recommendation unit is used for determining a key recommendation role from a plurality of preset recommendation roles, and a preset relation exists between the key recommendation role and a role in the user field;
the probability determining unit is used for determining the probability of acquiring each key recommended role from the shared role pool;
the role determination unit is used for determining the acquisition probability of each key recommended role, and the acquisition probability is the probability of acquiring the key recommended roles from the shared role pool;
and the recommending unit is used for recommending the target recommended role to the user.
In some embodiments, determining the key recommended role from a plurality of preset recommended roles includes:
determining candidate recommended roles from a plurality of preset recommended roles, wherein the candidate recommended roles have a preset relationship with the roles in which the user is present;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of candidate recommended roles, and the second attribute information comprises role attributes of all user presence roles;
and determining the key recommended roles from the candidate recommended roles according to the first attribute information and the second attribute information.
In some embodiments, determining the key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a first damage value according to the first attribute information, wherein the first damage value is a damage value caused by the skill release of the candidate recommended role to the target virtual role;
determining a second damage value according to the second attribute information, wherein the second damage value is a damage value caused to the target virtual character by the skill release of all the users in the role in the field;
and determining the key recommended role from the candidate recommended roles according to the first injury value and the second injury value.
In some embodiments, determining a key recommended role from the candidate recommended roles based on the first and second injury values comprises:
determining a damage ratio, wherein the damage ratio is a ratio between a first damage value and a second damage value;
according to the injury ratio, sequencing the candidate recommended roles to obtain the candidate recommended roles sequenced according to the injury ratio;
and determining key recommended roles in the candidate recommended roles according to the sorted candidate recommended roles.
In some embodiments, determining the probability of obtaining each of the highly recommended characters comprises:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all virtual roles in the current shared role pool;
and determining the acquisition probability of the key recommended roles according to the quotient of the first quantity and the second quantity.
In some embodiments, recommending a target recommendation role to the user includes:
obtaining layout information corresponding to the target recommended roles, wherein the layout information is used for indicating that the target recommended roles are laid out in a fighting region, and the fighting region is a region where the roles of the user are located;
and recommending the target recommendation role to the user based on the layout information.
In some embodiments, the layout information includes at least one of order information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in the battle area where the target recommended characters are located.
In some embodiments, after recommending the target recommended role to the user based on the layout information, the method further includes:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding a user of the position of the target recommended role in the fighting area;
and sending prompt information to the user.
In some embodiments, sending the reminder to the user includes:
according to the prompt information, determining the role identification of the target recommended role and the position of the target recommended role in the fighting region;
displaying the character identifier located in the position in the graphical user interface.
In some embodiments, after recommending the target recommended role to the user, the method further comprises:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
and recommending the virtual equipment applied to the target recommended role to the user.
In some embodiments, the method further comprises recommending the level of the target recommended role to the user.
The embodiment of the application also provides electronic equipment, which comprises a memory, a storage and a control unit, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the proposed methods provided by the embodiments of the present application.
Embodiments of the present application further provide a computer-readable storage medium, where multiple instructions are stored, and the instructions are suitable for being loaded by a processor to perform steps of any one of the recommendation methods provided in the embodiments of the present application.
According to the method and the device, the graphical user interface can be provided through the terminal device, the content of the graphical user interface at least partially comprises virtual roles, the virtual roles comprise user presence roles, the user presence roles are controlled by the user through the terminal device, the key recommendation roles are determined from a plurality of preset recommendation roles, and a preset relationship exists between the key recommendation roles and the user presence roles; determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool; determining a target recommended role from a plurality of key recommended roles according to the acquisition probability; and recommending the target recommended role to the user.
According to the method, a plurality of key recommended roles having a preset relation with roles in which a user is present can be determined from preset recommended roles, the preset relation can change the key recommended roles and combat attributes of the roles in which the user is present, namely, the key recommended roles are virtual roles required by the user in a game, the acquisition probability of each key recommended role is determined, the acquisition probability is the probability of acquiring the key recommended roles from a shared role pool, a target recommended role can be determined from the plurality of key recommended roles by acquiring the probability, the target recommended role is recommended to the user, and the target recommended role is convenient for the user to acquire from the shared role pool, so that the target recommended role is easy to be adopted by the user. Thus, effective information can be recommended to the user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below 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. 1a is a schematic diagram of a strategy library provided by the prior art;
FIG. 1b is a schematic flowchart of a recommendation method provided in an embodiment of the present application;
fig. 1c is a schematic view of a scene of a recommendation method according to an embodiment of the present application;
fig. 1d is a schematic view of another scenario of a recommendation method provided in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a recommendation device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a recommendation method, a recommendation device, electronic equipment and a storage medium.
The recommendation device may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or the like. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, or a Personal Computer (PC), and the like; the server may be a single server or a server cluster composed of a plurality of servers.
In some embodiments, the recommendation apparatus may also be integrated in a plurality of electronic devices, for example, the recommendation apparatus may be integrated in a plurality of servers, and the recommendation method of the present application is implemented by the plurality of servers.
In some embodiments, the server may also be implemented in the form of a terminal.
For example, as shown in fig. 1a, currently, a user queries a strategy library in a game before or during game play, where the strategy library includes a strategy 1 and a strategy 2.
Because the target user knows how to arrange the virtual characters in the battlefield in the manner, which causes the user to spend a great deal of effort on thinking how to use the virtual characters, the embodiment provides a recommendation method, the electronic device is a terminal device, an electronic game can be run in the terminal device, a graphical user interface can be displayed on a screen of the terminal device, the content of the graphical user interface at least partially contains the virtual characters, the virtual characters include user presence characters, the user presence characters are controlled by the user through the terminal device, important recommended characters are determined from a plurality of preset recommended characters, and a preset relationship exists between the important recommended characters and the user presence characters; determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool; determining a target recommended role from a plurality of key recommended roles according to the acquisition probability; and recommending the target recommended role to the user.
By obtaining the probability, a target recommended role can be determined from a plurality of key recommended roles, and the target recommended role is recommended to the user, and the target recommended role is convenient for the user to obtain from the shared role pool, so that the target recommended role is easy to be adopted by the user. Therefore, effective information can be recommended to the user.
In one embodiment of the present disclosure, a recommendation method may be executed on a terminal device or a server. When the recommendation method is operated on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and client equipment.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (6) cloud games. Taking a cloud game as an example, the cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the recommendation method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a terminal, a television, a computer, a palm computer and the like; however, the terminal device for recommendation is a cloud game server in the cloud. When a game is played, a user operates the client device to send an operation instruction, such as an operation instruction of touch operation, to the cloud game server, the cloud game server runs the game according to the operation instruction, encodes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes and outputs the game pictures through the client device.
In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with a user through a graphical user interface, namely, downloading and installing a game program and running the game program through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the user may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the user by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
A game scene (or referred to as a virtual scene) is a virtual scene that an application program displays (or provides) when running on a terminal or a server. Optionally, the virtual scene is a simulated environment of the real world, or a semi-simulated semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be sky, land, sea and the like, wherein the land comprises environmental elements such as deserts, cities and the like. For example, for a card game, the virtual scene may be a chessboard, and the user lays out virtual characters in the chessboard through the terminal device, and after the virtual characters are laid out on the chessboard, the virtual characters can automatically execute specific game behaviors in the chessboard through the game application.
The game interface is an interface corresponding to an application program provided or displayed through a graphical user interface, the interface comprises a graphical user interface and a game picture for interaction of a user, and the game picture is a picture of a game scene.
In alternative embodiments, game controls (e.g., controls for controlling virtual characters, function controls, etc.), indicators (e.g., directional indicators, character indicators, etc.), information presentation areas (e.g., game scores, game times, etc.), or game setting controls (e.g., system settings, stores, coins, etc.) may be included in the UI interface.
For example, in some embodiments, the reminder information may be included in the graphical user interface as an arbitrary control.
In an optional embodiment, the game screen is a display screen corresponding to a game scene displayed by the terminal device, and the game screen may include virtual objects such as a game object, an NPC character, and an AI character that execute a game logic in the game scene.
For example, in some embodiments, the content displayed in the graphical user interface at least partially comprises a game scene, wherein the game scene comprises at least one game object.
In some embodiments, the game objects in the game scene comprise virtual characters manipulated by the user through the terminal device.
The game object refers to a virtual object in a virtual scene, including a game character, which is a dynamic object that can be controlled, i.e., a dynamic virtual object. Alternatively, the dynamic object may be a virtual character, a virtual animal, an animation character, or the like. The virtual object is a Character controlled by a user through an input device, or an Artificial Intelligence (AI) set in a virtual environment battle through training, or a Non-virtual Character (NPC) set in a virtual scene battle.
Optionally, the virtual object is a virtual character playing a game in a virtual scene. Optionally, the number of virtual objects in the virtual scene match is preset, or dynamically determined according to the number of clients participating in the match, which is not limited in the embodiment of the present application.
In one possible implementation manner, the game application may control a user to play a game behavior in the virtual scene through a virtual character held by the terminal device, where the game behavior may include moving, releasing skills, using props, dialog, and the like, for example, controlling the virtual object to run, jump, crawl, and the like, and also enable the game application to control the virtual object to use the skills, the virtual props, and the like to fight against other virtual objects.
The virtual camera is a necessary component of the game scene picture and is used for presenting the game scene picture, one game scene at least corresponds to one virtual camera, two or more virtual cameras can be used as game rendering windows according to actual needs to capture and present the picture content of the game world for users, and the viewing angle of the users watching the game world, such as the viewing angle of a third person, can be adjusted by setting the parameters of the virtual camera.
In an optional implementation manner, an embodiment of the present invention provides a recommendation method, where a graphical user interface is provided through a touch terminal, where the touch terminal may be the aforementioned local terminal device, or the aforementioned client device in a cloud interaction system.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, a recommendation method is provided, where a terminal device provides a graphical user interface, content of the graphical user interface at least partially includes virtual roles, where the virtual roles include a user presence role, and the user presence role is controlled by a user through the terminal device, as shown in fig. 1b, a specific process of the recommendation method may be as follows:
110. and determining a key recommended role from a plurality of preset recommended roles, wherein a preset relationship exists between the key recommended role and the user in-field role.
The user presence role is a virtual role which is currently involved in the battle and is controlled by the user through the terminal device, for example, the user controls the virtual role a and the virtual role B through the terminal device to participate in the currently arrived battle, and then the virtual role a and the virtual role B are the user presence roles.
The preset recommended characters are all virtual characters preset in the game, for example, if 50 virtual characters are preset in the game, the 50 virtual characters are preset recommended characters.
Specifically, the user presence role may include a virtual role a, and the type of the virtual role a includes a job 1 and a community a, and the user presence role type is one of the job 1 and the community a.
And a preset relationship exists between the key recommendation role and the user presence role, and the preset relationship is used for changing the key recommendation role and the fighting attributes of the user presence role. For example, if the type of the character in the presence of the user includes "warrior", in addition to recommending the key recommended character with the type of "warrior", a key recommended character with the type of "animal" or "watch" may be recommended, so that the fighting attribute of the own party is enhanced or the fighting attribute of the enemy party is weakened through a preset relationship between the key recommended character and the character in the presence of the user.
The preset relationship is a preset relationship between at least two virtual roles and is used for changing the key recommendation role and the fighting attributes of the user on-site roles. For example, the predetermined relationship may be a "trip" in the game.
For example, in addition to the virtual role a and the virtual role B, the user presence role is of the type a, the virtual role B is of the type B, and the virtual role a and the virtual role B may or may not have a preset relationship. When the virtual role A and the virtual role B have a preset relationship, determining a virtual role having a preset relationship with the type a and the type B as a key recommended role from a plurality of preset recommended roles. And when the virtual role A and the virtual role do not have a preset relationship, determining the virtual role having the preset relationship with the type a or the type b from a plurality of preset recommended roles as a key recommended role.
In some embodiments, in order to screen a recommended heavy role from a plurality of preset recommended roles, determining a recommended heavy role from the plurality of preset recommended roles includes:
determining candidate recommended roles from a plurality of preset recommended roles, wherein a preset relation exists between the candidate recommended roles and the types of roles in which the user is present;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of candidate recommended roles, and the second attribute information comprises role attributes of all user presence roles;
and determining the key recommended roles from the candidate recommended roles according to the first attribute information and the second attribute information.
The candidate recommended roles are virtual roles which are preliminarily screened out from a plurality of preset recommended roles and have a preset relation with the roles in the presence of the user. For example, if the user presence role includes a virtual role a and a virtual role B, a candidate recommended role may be preliminarily screened out from a plurality of preset recommended roles according to the type of the virtual role a and the type of the virtual role B, and the candidate recommended role may have a preset relationship with the virtual role a and the virtual role B, or may have a preset relationship with the virtual role a or may have a preset relationship with the virtual role B.
The first attribute information includes role attributes of the candidate recommended role, for example, the first attribute information may include at least one of vital value, physical injury value, physical defense force, agility and the like of the candidate recommended role.
The second attribute information is a role attribute including all user presence roles, for example, the first attribute information may include at least one of life value, physical injury value, physical defense, agility and the like of all user presence roles.
For example, the key recommended characters may be screened from the candidate recommended characters according to at least one of a vital value, a physical injury value, a physical defense, an agility, and the like.
In some embodiments, in order to screen out a recommended role that is favorable for a user from a plurality of candidate recommended roles, determining a recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a first injury value according to the first attribute information, wherein the first injury value is an injury value caused by skill release of the candidate recommended role to the target virtual role;
determining a second damage value according to the second attribute information, wherein the second damage value is a damage value caused to the target virtual character by the skill release of all the users in the role in the field;
and determining the key recommended role from the candidate recommended roles according to the first damage value and the second damage value.
The target virtual character is used for testing physical damage values of the candidate recommended character and all user presence characters, for example, 50 virtual characters exist in a game, and the target virtual character can be any one of the 50 virtual characters and is used for uniformly measuring the physical damage values of the candidate recommended character and all user presence characters.
The first damage value is a damage value caused by the skill release of the candidate recommended character to the target virtual character, for example, after the skill release of the candidate recommended character, the damage value caused by the candidate recommended character to the target virtual character is 50, and then the first damage value is 50.
In some embodiments, the first injury value may be determined from a physical injury value in the first attribute information.
For example, if the target virtual character is worn with defense equipment that can resist 10% of the injuries, and the physical injury value released by the one-time skill of the candidate recommended character is 50, the defense equipment of the target virtual character resists 5 injury values, and the injury value to the target virtual character is =50-5=45. The second injury value is an injury value caused by skill release of all user presence characters to the target virtual character, for example, after all user presence characters are simultaneously released, the injury value caused to the target virtual character is 200, and the second injury value is 200.
In some embodiments, the first injury value may be determined from a physical injury value in the second sex information. For example, if a target virtual character is worn with a defense apparatus that can resist 10% of damage, all user presence characters include a virtual character a and a virtual character B, the physical damage value of the virtual character a is 60, the physical damage value of the virtual character B is 50, a preset relationship exists between the virtual character a and the virtual character B, and the preset relationship can respectively improve the physical damage values of the virtual character a and the virtual character B by 10%, then the common physical damage value of the virtual character a and the virtual character B is 121 at this time, that is, the physical damage value released by the virtual character a and the virtual character B at one time is 121, then the defense apparatus of the target virtual character resists the 12.1 damage value, and then the damage value to the target virtual character is =121-12.1=108.9.
In some embodiments, in order to screen out a recommended-emphasis role with a large injury value, determining a recommended-emphasis role from the candidate recommended roles according to the first injury value and the second injury value includes:
determining a damage ratio, wherein the damage ratio is the ratio between the first damage value and the second damage value;
according to the injury ratio, sequencing the candidate recommended roles to obtain the candidate recommended roles sequenced according to the injury ratio;
and determining key recommended roles in the candidate recommended roles according to the sorted candidate recommended roles.
The damage ratio is a ratio between the first damage value and the second damage value, for example, if the first damage value is 50 and the second damage value is 200, the damage ratio is 0.25.
The sorted candidate recommended roles are obtained by sorting the plurality of candidate recommended roles according to the injury ratio.
For example, the candidate recommended roles include a candidate recommended role 1, a candidate recommended role 2 \8230, a candidate recommended role 3 \ 8230, and a candidate recommended role 6, where the injury ratio value corresponding to the candidate recommended role 1 is 0.25, the injury ratio value corresponding to the candidate recommended role 2 is 0.3, the injury ratio value corresponding to the candidate recommended role 3 is 0.2, the injury ratio value corresponding to the candidate recommended role 4 is 0.1, the injury ratio value corresponding to the candidate recommended role 5 is 0.4, and the injury ratio value corresponding to the candidate recommended role 6 is 0.45, the ranked candidate recommended roles may be ranked according to the injury ratio value from high to low, and the ranked candidate recommended roles are the candidate recommended role 6, the candidate recommended role 5, the candidate recommended role 2, the candidate recommended role 1, the candidate recommended role 3, and the candidate recommended role 4, and the emphasis role recommendation may be to use all candidate recommended roles before the preset ranking as the emphasis role recommendation. For example, if the preset ranking is 3, the candidate recommended role 6 is taken as the key recommended role 1, the candidate recommended role 5 is taken as the key recommended role 2, and the candidate recommended role 2 is taken as the key recommended role 3.
The sorted candidate recommended roles can be sorted from low to high according to the injury ratio.
120. And determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool.
The shared role pool is used for all users in the current game to commonly acquire virtual roles through the terminal equipment, the virtual roles in the shared role pool are reduced along with the acquisition of the users, only a preset number of users can participate in the current game, and the preset number of users can extract the virtual roles from the shared role pool. For example, before the game starts, the shared character pool has 100 virtual characters, and the 100 virtual characters include the same virtual character and different virtual characters.
The obtaining probability is the probability of obtaining the key recommended role from the shared role pool. For example, the key recommended characters include a key recommended character 1, a key recommended character 2, and a key recommended character 3, and the shared character pool further has 60 virtual characters in the current game, where 3 key recommended characters 1, 6 key recommended characters 2, and 9 key recommended characters 3, the acquisition probability of the key recommended character 1 is 0.05, the acquisition probability of the key recommended character 2 is 0.1, and the acquisition probability of the key recommended character 3 is 0.15.
130. And determining a target recommended role from the multiple key recommended roles according to the acquisition probability.
The target recommended role is a virtual role selected from a plurality of key recommended roles according to the acquisition probability. For example, the target recommended role may be a virtual role with the highest acquisition probability among the key recommended roles, and may also be a target recommended role obtained by sorting a plurality of key recommended roles from high to low according to the acquisition probability and using any key recommended role sorted in the previous preset data.
For example, the preset data may be 3, and the target recommended role may be any one of the top-ranked 3 key recommended roles as the target recommended role.
In some embodiments, considering that limited virtual roles in the shared role pool lead to different difficulties for users to acquire different recommended important roles, in order to recommend virtual roles convenient for users to use to users, determining an acquisition probability of each recommended important role includes:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all virtual roles in the current shared role pool;
and determining the obtaining probability of the key recommended role according to the quotient of the first quantity and the second quantity.
The first number is the number of the key recommended roles in the current shared role pool.
The second number is the number of all virtual roles in the current shared role pool.
For example, if the shared character pool has 60 virtual characters in the current game, the second number is 60. Wherein, if there are 3 of the above-mentioned emphasis recommended roles 1 in the shared role pool, the first number is 3. The first number is 6 if there are 6 recommended heavy roles 2 in the shared role pool. The first number is 9 if there are 9 highly recommended roles 3 in the shared roles pool.
The acquisition probability of the emphasis recommended character 1= 3 ÷ 60=0.05, the acquisition probability of the emphasis recommended character 2 =6 ÷ 60=0.1, and the acquisition probability of the emphasis recommended character 3 =9 ÷ 60=0.15.
140. And recommending the target recommended role to the user.
In some embodiments, in order to guide the user how to lay out the target recommendation role in the war area so as to reduce the operation difficulty of the user, the target recommendation role is recommended to the user, and the method comprises the following steps:
obtaining layout information corresponding to the target recommended roles, wherein the layout information is used for indicating that the target recommended roles are laid out in a fighting region, and the fighting region is a region where the roles of the user are located;
and recommending the target recommended role to the user based on the layout information.
Wherein, the fighting area is the area where the user's present character is located. For example, if the battle area is a virtual chessboard, the characters present in the user participate in the battle in the virtual chessboard. And if the match area is a card-playing area, the user participates in the match in the card-playing area by the characters on the spot.
The layout information is used to instruct layout of the target recommended characters in the battle area. For example, if the battle area is a virtual chessboard, the layout information may include the positions of the target recommended characters in the virtual chessboard and the sequence of the target recommended characters in the virtual chessboard.
For example, as shown in fig. 1c, the battle area in the graphical user interface 1 is a virtual chessboard 2, and the user presence role 3 located on the virtual chessboard 2, the graphical user interface 1 further displays a waiting area 5, and according to the layout information, the user may be instructed to place the target recommended role 4 in the waiting area 5 through the terminal device, and then the user may be instructed to drag the target recommended role 4 from the waiting area 5 to a position in the virtual chessboard 2 through the terminal device, or the user may be instructed to drag the target recommended role to a position in the virtual chessboard 2 through the terminal device directly.
In some embodiments, in order that the operation difficulty of the user may be reduced, the layout information includes at least one of order information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in which the target recommended characters are located in the battle area.
Wherein the order information is used to indicate an order in which the target recommended characters are laid out in the battle area. For example, the user may be first instructed to obtain the target recommended role through the terminal device, and then instructed to drag the target recommended role into the battle area through the terminal device according to the sequence information in the layout information.
The position information is used for indicating the position of the target recommended character in the battle area. For example, if the target recommended character can be shot remotely and does not go out of position in the battle area, the target recommended character is placed in the rear position of the battle area. If the target recommendation character can be shot remotely and can frequently walk around but cannot go around behind the enemy, the target recommendation character is placed at the middle rank position of the fighting area. If the target recommended character can be wound behind the enemy without any obstacles, the target recommended character can be placed at the front position of the battle area.
In some embodiments, considering how to recommend a target recommended role to the user, after recommending a target recommended role to the user based on the layout information, the method further includes:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding a user of the position of the target recommended role in the fighting area;
and sending prompt information to the user.
The prompt information is used for reminding the user of the position of the target recommended role in the battle area. For example, the prompt message may be displayed in a text form in the graphical user interface, may be sent to the user in a voice form, or may be displayed in a logo form in the graphical user interface.
In some embodiments, in order to facilitate the user to lay out the target recommended role in the battle area, prompt information is sent to the user, and the prompt information comprises the following steps:
according to the prompt information, determining the role identification of the target recommended role and the position of the target recommended role in the fighting region;
displaying the character identifier located in the position in the graphical user interface.
And the role identification is used for representing the target recommendation role. For example, the character identifier may be an avatar of the target recommended character, a transparent ghost of the target recommended character, and the like.
The position is the position in which the target recommended character needs to be set in the battle area.
For example, as shown in fig. 1d, a virtual chessboard 2 and a user-present character 3 located on the virtual chessboard 2 are displayed in the graphical user interface 1, and if the target recommended character 4 can be shot remotely and does not go out of position, an avatar or a transparent ghost of the target recommended character 4 is displayed at a rear position of the virtual chessboard 2 in the graphical user interface 1.
In some embodiments, after recommending the target recommended role to the user, in order to remind the user to improve the attribute of the target recommended role, the method further includes:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
and recommending the virtual equipment applied to the target recommended role to the user.
The virtual equipment is equipment for improving the attribute of the target recommended role. For example, the virtual equipment may be defense equipment, equipment to promote an attack, equipment to mitigate an attack, therapeutic equipment, and the like. For example, if the blood volume of the target recommended character is large, it is possible to recommend defense equipment to the target recommended character so that the target recommended character can continue a journey during the battle.
In some embodiments, in order to make the user know the level of the target recommended role to be used, the recommendation of the level of the target recommended role to the user is also included.
Wherein, the level may indicate the fighting capacity of the target recommended character, for example, the fighting capacity of a high-level target recommended character is greater than that of a low-level target recommended character.
In some embodiments, multiple lower level target recommended roles are merged to form a higher level target recommended role.
For example, the target recommendation role of the lower level is a 1-star target recommendation role, the target recommendation role of the higher level is a 2-star target recommendation role, and 3 1-star target recommendation roles can be formed into 1 2-star target recommendation role.
Therefore, the graphical user interface can be provided through the terminal device, the content of the graphical user interface at least partially comprises virtual roles, the virtual roles comprise user presence roles, the user presence roles are controlled by the user through the terminal device, the key recommendation roles are determined from a plurality of preset recommendation roles, and the key recommendation roles have preset relations with the user presence roles; determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool; determining a target recommended role from a plurality of key recommended roles according to the acquisition probability; and recommending the target recommended role to the user.
According to the scheme, through obtaining the probability, a target recommended role can be determined from a plurality of key recommended roles, the target recommended role is recommended to the user, the target recommended role is convenient for the user to obtain from the shared role pool, and therefore the target recommended role is easy to adopt by the user. Thus, effective information can be recommended to the user. Meanwhile, the role of the user in the presence is changed in real time according to the operation of the user, so that the recommended target recommended role can be changed in real time along with the operation of the user.
The method described in the above embodiments is further described in detail below.
The control method provided by the embodiment of the application can be applied to various electronic game scenes. For example, a self-walking chess mobile game is taken as an example, and the method of the embodiment of the present application is described in detail.
In this embodiment, the method of the embodiment of the present application will be described in detail by taking an example of applying the recommendation method to self-chess playing. The recommendation method comprises the following specific processes:
and (I) after the user enters the game, acquiring the type of the user presence character when the user has at least one user presence character (or at least after a round).
And secondly, determining candidate recommended roles from a plurality of preset recommended roles according to the types of the roles in the presence of the user, wherein a preset relationship exists between the candidate recommended roles and the roles in the presence of the user.
And (III) acquiring a first damage value and a second damage value, wherein the first damage value is a damage value to the target virtual character caused by the skill release of the candidate recommended character, and the second damage value is a damage value to the target virtual character caused by the skill release of all users in the role in the field.
And (IV) determining the key recommended role from the candidate recommended roles according to the ratio of the first injury value to the second injury value.
And (V) acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all the virtual roles in the current shared role pool.
And (sixthly), determining the acquisition probability of the key recommended roles according to the quotient of the first quantity and the second quantity.
And (seventhly), the key recommended role with the highest acquisition probability is used as a target recommended role, and the target recommended role is recommended to the user.
Therefore, by obtaining the probability, a target recommended role can be determined from the multiple key recommended roles, and the target recommended role is recommended to the user, and the target recommended role is convenient for the user to obtain from the shared role pool, so that the target recommended role is easy to be adopted by the user. Therefore, effective information can be recommended to the user. Meanwhile, the role of the user in the presence is changed in real time according to the operation of the user, so that the recommended target recommended role can be changed in real time along with the operation of the user.
In order to better implement the method, an embodiment of the present application further provides a recommendation apparatus, where the recommendation apparatus may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or another device. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking an example in which the recommendation device is specifically integrated in the terminal device.
For example, as shown in fig. 2, the recommendation apparatus, which provides a graphical user interface through a terminal device, the content of the graphical user interface at least partially contains virtual roles, the virtual roles include user presence roles, and the user presence roles are controlled by users through the terminal device, may include a role recommendation unit 210, a probability determination unit 220, a role determination unit 230, and a recommendation unit 240, as follows:
(I) a character recommendation unit 210.
The role recommendation unit 210 is configured to determine a key recommendation role from a plurality of preset recommendation roles, where a preset relationship exists between the key recommendation role and a user presence role.
In some embodiments, determining the key recommended role from a plurality of preset recommended roles includes:
determining candidate recommended roles from a plurality of preset recommended roles, wherein a preset relation exists between the candidate recommended roles and the roles in which the user is present;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of candidate recommended roles, and the second attribute information comprises role attributes of all user presence roles;
and determining the key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information.
In some embodiments, determining a key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a first damage value according to the first attribute information, wherein the first damage value is a damage value caused by the skill release of the candidate recommended role to the target virtual role;
determining a second injury value according to the second attribute information, wherein the second injury value is an injury value caused by skill release of all user presence roles to the target virtual role;
and determining the key recommended role from the candidate recommended roles according to the first injury value and the second injury value.
In some embodiments, determining the key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a damage ratio, wherein the damage ratio is the ratio between the first damage value and the second damage value;
sorting the plurality of candidate recommended roles according to the injury ratio to obtain candidate recommended roles sorted according to the injury ratio;
and determining the key recommended roles in the candidate recommended roles according to the sorted candidate recommended roles.
(II) probability determination unit 220.
And a probability determining unit 220, configured to determine a probability of obtaining each of the key recommended roles from the shared role pool.
In some embodiments, determining the probability of obtaining each of the prioritized recommended roles includes:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all virtual roles in the current shared role pool;
and determining the obtaining probability of the key recommended role according to the quotient of the first quantity and the second quantity.
And (iii) a role determination unit 230.
And the role determination unit 230 is configured to determine an obtaining probability of each heavily recommended role, where the obtaining probability is a probability of obtaining the heavily recommended role from the shared role pool.
(IV), a recommendation unit 240.
And a recommending unit 240 for recommending the target recommended role to the user.
In some embodiments, recommending a target recommendation role to a user includes:
obtaining layout information corresponding to the target recommended role, wherein the layout information is used for indicating that the target recommended role is laid out in a fighting area, and the fighting area is an area where the user is located in the role;
and recommending the target recommendation role to the user based on the layout information.
In some embodiments, the layout information includes at least one of order information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in the battle area where the target recommended characters are located.
In some embodiments, after recommending the target recommended role to the user based on the layout information, the method further includes:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding a user of the position of the target recommended role in the fighting area;
and sending prompt information to the user.
In some embodiments, sending the reminder to the user includes:
determining a role identifier of the target recommended role and the position of the target recommended role in the fighting area according to the prompt information;
and displaying the character identification at the position in the graphical user interface.
In some embodiments, after recommending the target recommended role to the user, the method further comprises:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
and recommending the virtual equipment applied to the target recommended role to the user.
In some embodiments, the method further comprises recommending the level of the target recommended role to the user.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the recommendation apparatus of this embodiment provides a graphical user interface through a terminal device, where the content of the graphical user interface at least partially includes virtual roles, the virtual roles include user presence roles, and the user presence roles are controlled by a user through the terminal device, and the apparatus includes: determining a key recommended role from a plurality of preset recommended roles by a role recommending unit, wherein a preset relationship exists between the key recommended role and a user-present role; determining, by a probability determination unit, a probability of obtaining each of the key recommended roles from the shared role pool; determining the obtaining probability of each key recommended role by a role determining unit, wherein the obtaining probability is the probability of obtaining the key recommended roles from a shared role pool; and recommending the target recommended role to the user by the recommending unit.
Therefore, according to the method and the device for recommending the target roles, the target recommended role can be determined from the multiple key recommended roles by obtaining the probability, the target recommended role is recommended to the user, the target recommended role is convenient for the user to obtain from the shared role pool, and therefore the target recommended role is easy to be adopted by the user. Therefore, effective information can be recommended to the user. Meanwhile, the role of the user in the presence is changed in real time according to the operation of the user, so that the recommended target recommended role can be changed in real time along with the operation of the user.
Correspondingly, the embodiment of the present application further provides an electronic device, where the electronic device may be a terminal or a server, and the terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a Personal computer, and a Personal Digital Assistant (PDA).
As shown in fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 300 includes a processor 310 having one or more processing cores, a memory 320 having one or more computer-readable storage media, and a computer program stored in the memory 320 and running on the processor. The processor 310 is electrically connected to the memory 320. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 310 is a control center of the electronic device 300, connects various parts of the entire electronic device 300 using various interfaces and lines, performs various functions of the electronic device 300 and processes data by running or loading software programs and/or modules stored in the memory 320, and calling data stored in the memory 320, thereby monitoring the electronic device 300 as a whole.
In the embodiment of the present application, the processor 310 in the electronic device 300 loads instructions corresponding to processes of one or more application programs into the memory 320, and the processor 310 executes the application programs stored in the memory 320 according to the following steps, so as to implement various functions:
providing a graphical user interface via a terminal device, the content of the graphical user interface at least partly comprising virtual roles, the virtual roles comprising user presence roles, the user presence roles being controlled by a user via the terminal device, comprising:
determining a key recommended role from a plurality of preset recommended roles, wherein a preset relationship exists between the key recommended role and a user in-field role;
determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool;
determining a target recommended role from a plurality of key recommended roles according to the acquisition probability;
and recommending the target recommended role to the user.
In some embodiments, determining the key recommended role from a plurality of preset recommended roles includes:
determining candidate recommended roles from a plurality of preset recommended roles, wherein the candidate recommended roles are virtual roles with the same types as the roles in the presence of the user;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of candidate recommended roles, and the second attribute information comprises role attributes of all user presence roles;
and determining the key recommended roles from the candidate recommended roles according to the first attribute information and the second attribute information.
In some embodiments, determining the key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a first damage value according to the first attribute information, wherein the first damage value is a damage value caused by the skill release of the candidate recommended role to the target virtual role;
determining a second damage value according to the second attribute information, wherein the second damage value is a damage value caused to the target virtual character by the skill release of all the users in the role in the field;
and determining the key recommended role from the candidate recommended roles according to the first injury value and the second injury value.
In some embodiments, determining a heavily recommended role from the candidate recommended roles based on the first and second injury values comprises:
determining a damage ratio, wherein the damage ratio is the ratio between the first damage value and the second damage value;
according to the injury ratio, sequencing the candidate recommended roles to obtain the candidate recommended roles sequenced according to the injury ratio;
and determining the key recommended roles in the candidate recommended roles according to the sorted candidate recommended roles.
In some embodiments, determining the probability of obtaining each of the highly recommended characters comprises:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all virtual roles in the current shared role pool;
and determining the obtaining probability of the key recommended role according to the quotient of the first quantity and the second quantity.
In some embodiments, recommending a target recommendation role to a user includes:
obtaining layout information corresponding to the target recommended role, wherein the layout information is used for indicating that the target recommended role is laid out in a fighting area, and the fighting area is an area where the user is located in the role;
and recommending the target recommendation role to the user based on the layout information.
In some embodiments, the layout information includes at least one of order information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in the battle area where the target recommended characters are located.
In some embodiments, after recommending the target recommended role to the user based on the layout information, the method further comprises:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding a user of the position of the target recommended role in the fighting area;
and sending prompt information to the user.
In some embodiments, sending the reminder to the user includes:
determining a role identifier of the target recommended role and the position of the target recommended role in the fighting area according to the prompt information;
displaying the character identifier located in the position in the graphical user interface.
In some embodiments, after recommending the target recommended role to the user, the method further comprises:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
and recommending the virtual equipment applied to the target recommended role to the user.
In some embodiments, the method further comprises recommending the level of the target recommended role to the user.
The embodiment of the application also provides electronic equipment, which comprises a memory, a storage and a control unit, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the proposed methods provided by the embodiments of the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 3, the electronic device 300 further includes: touch-sensitive display 330, radio frequency circuit 340, audio circuit 350, input unit 360 and power 370. The processor 310 is electrically connected to the touch display 330, the radio frequency circuit 340, the audio circuit 350, the input unit 360 and the power source 370. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 3 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The touch display 330 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 330 may include a display panel and a touch panel. Among other things, the display panel may be used to display information input by or provided to a user as well as various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and can receive and execute commands sent by the processor 310. The touch panel may cover the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 330 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 330 can also be used as a part of the input unit 360 to implement an input function.
The rf circuit 340 may be configured to transmit and receive rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and transmit and receive signals with the network device or other electronic devices.
The audio circuit 350 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone. The audio circuit 350 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 350 and converted into audio data, which is then processed by the audio data output processor 310 and then transmitted to another electronic device via the rf circuit 340, or the audio data is output to the memory 320 for further processing. The audio circuit 350 may also include an earbud jack to provide communication of peripheral headphones with the electronic device.
The input unit 360 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 370 is used to power the various components of the electronic device 300. Optionally, the power source 370 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. Power source 370 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 3, the electronic device 300 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment may determine, from preset recommended roles, multiple key recommended roles having a preset relationship with a role in which a user is present, where the preset relationship may change key recommended roles and combat attributes of the role in which the user is present, that is, the key recommended roles are virtual roles required by the user in a game, and then determine an acquisition probability of each key recommended role, where the acquisition probability is a probability of acquiring a key recommended role from a shared role pool, and by acquiring the probabilities, a target recommended role may be determined among the multiple key recommended roles, and the target recommended role is recommended to the user, where the target recommended role is convenient for the user to acquire from the shared role pool, so that the target recommended role is easily adopted by the user. Thus, effective information can be recommended to the user.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any of the recommendation methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
providing a graphical user interface via a terminal device, the content of the graphical user interface at least partly comprising virtual roles, the virtual roles comprising user presence roles, the user presence roles being controlled by a user via the terminal device, comprising:
determining a key recommended role from a plurality of preset recommended roles, wherein a preset relationship exists between the key recommended role and a user in-field role;
determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from the shared role pool;
determining a target recommended role from a plurality of key recommended roles according to the acquisition probability;
and recommending the target recommended role to the user.
In some embodiments, determining the key recommended role from a plurality of preset recommended roles includes:
determining candidate recommended roles from a plurality of preset recommended roles, wherein a preset relationship exists between the candidate recommended roles and the roles in which the user exists;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of candidate recommended roles, and the second attribute information comprises role attributes of all user presence roles;
and determining the key recommended roles from the candidate recommended roles according to the first attribute information and the second attribute information.
In some embodiments, determining the key recommended role from the candidate recommended roles according to the first attribute information and the second attribute information includes:
determining a first damage value according to the first attribute information, wherein the first damage value is a damage value caused by the skill release of the candidate recommended role to the target virtual role;
determining a second damage value according to the second attribute information, wherein the second damage value is a damage value caused to the target virtual character by the skill release of all the users in the role in the field;
and determining the key recommended role from the candidate recommended roles according to the first damage value and the second damage value.
In some embodiments, determining a key recommended role from the candidate recommended roles based on the first and second injury values comprises:
determining a damage ratio, wherein the damage ratio is a ratio between a first damage value and a second damage value;
according to the injury ratio, sequencing the candidate recommended roles to obtain the candidate recommended roles sequenced according to the injury ratio;
and determining the key recommended roles in the candidate recommended roles according to the sorted candidate recommended roles.
In some embodiments, determining the probability of obtaining each of the prioritized recommended roles includes:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all virtual roles in the current shared role pool;
and determining the obtaining probability of the key recommended role according to the quotient of the first quantity and the second quantity.
In some embodiments, recommending a target recommendation role to a user includes:
obtaining layout information corresponding to the target recommended roles, wherein the layout information is used for indicating that the target recommended roles are laid out in a fighting region, and the fighting region is a region where the roles of the user are located;
and recommending the target recommendation role to the user based on the layout information.
In some embodiments, the layout information includes at least one of order information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in the battle area at which the target recommended characters are located.
In some embodiments, after recommending the target recommended role to the user based on the layout information, the method further includes:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding a user of the position of the target recommended role in the fighting area;
and sending prompt information to the user.
In some embodiments, sending the reminder to the user includes:
determining a role identifier of the target recommended role and the position of the target recommended role in the fighting area according to the prompt information;
and displaying the character identification at the position in the graphical user interface.
In some embodiments, after recommending the target recommended role to the user, the method further comprises:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
and recommending the virtual equipment applied to the target recommended role to the user.
In some embodiments, the method further comprises recommending the level of the target recommended role to the user.
The embodiment of the application also provides electronic equipment, which comprises a memory, a storage and a control unit, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the proposed methods provided by the embodiments of the present application.
Embodiments of the present application further provide a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the recommendation methods provided in the embodiments of the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps of any of the recommendation methods provided in the embodiments of the present application, beneficial effects that can be achieved by any of the recommendation methods provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The recommendation method, apparatus, storage medium and computer device provided by the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A recommendation method, characterized in that a graphical user interface is provided by a terminal device, the content of said graphical user interface at least partly containing virtual characters, said virtual characters comprising user presence characters, said user presence characters being controlled by a user via said terminal device, comprising:
determining a key recommended role from a plurality of preset recommended roles, wherein a preset relationship exists between the key recommended role and the role in the presence of the user;
determining the obtaining probability of each key recommended role, wherein the obtaining probability is the probability of obtaining the key recommended roles from a shared role pool;
determining a target recommended role from the key recommended roles according to the obtaining probability;
and recommending the target recommended role to the user.
2. The method of claim 1, wherein the determining a key recommended role from a plurality of preset recommended roles comprises:
determining candidate recommended roles from a plurality of preset recommended roles, wherein a preset relationship exists between the candidate recommended roles and the user presence roles;
acquiring first attribute information and second attribute information, wherein the first attribute information comprises role attributes of the candidate recommended roles, and the second attribute information comprises role attributes of all roles in which the user is present;
and determining a key recommendation role from the candidate recommendation roles according to the first attribute information and the second attribute information.
3. The method of claim 2, wherein the determining a heavily recommended role from the candidate recommended roles according to the first attribute information and the second attribute information comprises:
determining a first damage value according to the first attribute information, wherein the first damage value is a damage value caused by the skill release of the candidate recommended role to a target virtual role;
determining a second injury value according to the second attribute information, wherein the second injury value is an injury value caused by skill release of all user presence characters to the target virtual character;
and determining a key recommended role from the candidate recommended roles according to the first injury value and the second injury value.
4. The method of claim 3, wherein determining a heavily recommended role from the candidate recommended roles as a function of the first and second injury values comprises:
determining a damage ratio, wherein the damage ratio is a ratio between the first damage value and the second damage value;
according to the injury ratio, sorting the candidate recommended roles to obtain candidate recommended roles sorted according to the injury ratio;
and determining the key recommended role in the candidate recommended roles according to the sorted candidate recommended roles.
5. The method of claim 1, wherein said determining an acquisition probability for each of said prioritized recommended roles comprises:
acquiring a first quantity and a second quantity, wherein the first quantity is the quantity of the key recommended roles in the current shared role pool, and the second quantity is the quantity of all the virtual roles in the current shared role pool;
and determining the acquisition probability of the key recommended role according to the quotient of the first quantity and the second quantity.
6. The method of claim 1, wherein the recommending the target recommended role to the user comprises:
obtaining layout information corresponding to the target recommended role, wherein the layout information is used for indicating that the target recommended role is laid out in a battle area, and the battle area is an area where the user is located in the role;
recommending the target recommended role to the user based on the layout information.
7. The method of claim 6, wherein the layout information includes at least one of sequence information indicating an order in which the target recommended characters are laid out in the battle area and position information indicating a position in the battle area where the target recommended characters are located.
8. The method of claim 7, further comprising, after said recommending the target recommended role to the user based on the layout information,:
determining prompt information according to the layout information and the target recommended role, wherein the prompt information is used for reminding the user of the position of the target recommended role in the fighting area;
and sending the prompt information to the user.
9. The method of claim 8, wherein said sending the reminder to the user comprises:
determining the role identification of the target recommended role and the position of the target recommended role in the fighting area according to the prompt information;
displaying the character identifier at the location in the graphical user interface.
10. The method of claim 1, wherein after said recommending the target recommended role to the user, further comprises:
determining virtual equipment according to the type of the target recommended role, wherein the virtual equipment is used for improving the attribute of the target recommended role;
recommending the virtual equipment applied to the target recommended role to the user.
11. The method of claim 1, further comprising recommending to the user a rating for the target recommended role.
12. A recommendation device, characterized in that a graphical user interface is provided by a terminal device, the content of said graphical user interface at least partly comprising virtual characters, said virtual characters comprising user presence characters, said user presence characters being controlled by a user via said terminal device, comprising:
the role recommendation unit is used for determining a key recommendation role from a plurality of preset recommendation roles, wherein a preset relationship exists between the key recommendation role and the role of the user in the field;
a probability determining unit, configured to determine an acquisition probability of each of the key recommended roles, where the acquisition probability is a probability of acquiring the key recommended roles from a shared role pool;
the role determining unit is used for determining a target recommended role from the plurality of key recommended roles according to the probability;
and the recommending unit is used for recommending the target recommended role to the user.
13. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of the method of any one of claims 1 to 11.
14. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method according to any one of claims 1 to 11.
CN202210869500.3A 2022-07-21 2022-07-21 Recommendation method and device, electronic equipment and storage medium Pending CN115300904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210869500.3A CN115300904A (en) 2022-07-21 2022-07-21 Recommendation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210869500.3A CN115300904A (en) 2022-07-21 2022-07-21 Recommendation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115300904A true CN115300904A (en) 2022-11-08

Family

ID=83856751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210869500.3A Pending CN115300904A (en) 2022-07-21 2022-07-21 Recommendation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115300904A (en)

Similar Documents

Publication Publication Date Title
CN113101652A (en) Information display method and device, computer equipment and storage medium
CN110548277B (en) Method, device and equipment for acquiring hand cards in card game program and readable medium
CN113350793B (en) Interface element setting method and device, electronic equipment and storage medium
CN113101657B (en) Game interface element control method, game interface element control device, computer equipment and storage medium
CN113426124A (en) Display control method and device in game, storage medium and computer equipment
CN112870706A (en) Teaching content display method, device, equipment and storage medium
CN113786620A (en) Game information recommendation method and device, computer equipment and storage medium
CN113633963A (en) Game control method, device, terminal and storage medium
CN113082707A (en) Virtual object prompting method and device, storage medium and computer equipment
CN114159785A (en) Virtual item discarding method and device, electronic equipment and storage medium
CN113521724B (en) Method, device, equipment and storage medium for controlling virtual character
CN113332718B (en) Interactive element query method and device, electronic equipment and storage medium
CN116139483A (en) Game function control method, game function control device, storage medium and computer equipment
CN114042315A (en) Virtual scene-based graphic display method, device, equipment and medium
CN115300904A (en) Recommendation method and device, electronic equipment and storage medium
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN113468429B (en) Card set optimization method, device, storage medium and computer equipment
CN115040868A (en) Prompt information generation method, area adjustment method and device
CN115040867A (en) Game card control method and device, computer equipment and storage medium
CN115193062A (en) Game control method, device, storage medium and computer equipment
CN116370960A (en) Virtual character selection method, device, electronic equipment and storage medium
CN116549972A (en) Virtual resource processing method, device, computer equipment and storage medium
CN115068943A (en) Game card control method and device, computer equipment and storage medium
CN115430151A (en) Game role control method and device, electronic equipment and readable storage medium
CN116785708A (en) Game behavior control method, game behavior control device, computer equipment and storage medium

Legal Events

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