Disclosure of Invention
The application aims to overcome the defects in the prior art and provide a virtual character name recommending method, device, equipment and storage medium, so as to solve the problems that a nickname database is required to be maintained at a great deal of labor cost and a player is difficult to look ahead at the nickname randomly recommended in the prior art.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
In a first aspect, an embodiment of the present application provides a virtual character name recommendation method, where the method includes:
sending a recommended role name to the client from a virtual role name library;
Updating the scores of the recommended role names in the virtual role name library according to the alternative feedback of the recommended role names sent by the client;
Dynamically calculating the system temperature according to the number of virtual role names of the virtual role name library in the running time and/or the preset time;
and selecting and rejecting the historical recommended names according to the system temperature and the scores of the historical recommended names in the virtual role name library, wherein the historical recommended names are the recommended role names with scores.
Optionally, the updating the score of the virtual character name library about the recommended character name according to the feedback of the client for the recommended character name includes:
calculating the acceptance rate of the recommended role name according to the feedback for the recommended role name;
and updating the scores related to the recommended role names in the virtual role name library according to the acceptance rate of the recommended role names.
Optionally, if the alternative feedback indicates that the recommended role name is not accepted, the method further includes:
and adding the input role name sent by the client into the virtual role name library.
Optionally, the method further comprises:
Performing conversion processing on the virtual character names in the virtual character name library to obtain newly generated character names;
The new character name is added to the virtual character name library.
Optionally, the longer the running time is, the lower the system temperature is, and the more the number of the newly added character names is, the higher the system temperature is.
Optionally, the choosing and rejecting the historical recommended names according to the system temperature and the scores of the historical recommended names in the virtual character name library includes:
Calculating a choice probability according to the system temperature;
and accepting or rejecting the history recommended names according to the accepting or rejecting probability.
Optionally, if the system temperature is greater than or equal to a first preset temperature threshold, the probability of choosing or rejecting is a first probability of choosing or rejecting;
And the choosing and rejecting the history recommended names according to the choosing and rejecting probability comprises the following steps:
Discarding the virtual role names with scores greater than or equal to a first scoring threshold in the historical recommended names according to the first choosing and ending probability.
Optionally, if the system temperature is less than a second preset temperature threshold, the probability of choosing or rejecting is a second probability of choosing or rejecting;
And the choosing and rejecting the history recommended names according to the choosing and rejecting probability comprises the following steps:
Discarding the virtual role names with scores smaller than a second scoring threshold in the historical recommended names according to the second alternative probability.
In a second aspect, another embodiment of the present application provides a virtual character name recommendation method, including:
Responding to the input creation operation of the virtual character name, and sending a virtual character name acquisition request to a server;
The recommended role name returned by the server is received, wherein the recommended role name is one virtual role name randomly selected by the server from a preset virtual role name library;
And responding to the input feedback operation aiming at the recommended role name, returning the feedback aiming at the recommended role name to the server to indicate whether the recommended role name is accepted or not, so that the server updates the scores of the recommended role names in the virtual role name library to accept or reject the historical recommended names in the virtual role name library based on the scores of the historical recommended names in the virtual role name library, wherein the historical recommended names are the recommended role names with the scores.
Optionally, when the feedback operation indicates that the recommended role name is not accepted, the method further includes:
And responding to the input operation of the input role name, and sending the input role name to the server so that the server adds the input role name into the virtual role name library.
In a third aspect, another embodiment of the present application provides an apparatus for recommending virtual character names, where the apparatus includes a sending module, an updating module, a calculating module, and a choosing module, where:
the sending module is used for sending the recommended role name to the client from the virtual role name library;
the updating module is used for updating the scores of the recommended role names in the virtual role name library according to the feedback of the client side on the recommended role names;
the calculation module is used for dynamically calculating the system temperature according to the number of the virtual role names of the virtual role name library in the running time and/or the preset time;
the choosing and rejecting module is used for choosing and rejecting the historical recommended names according to the system temperature and scores of the historical recommended names in the virtual character name library, wherein the historical recommended names are the recommended character names with scores.
Optionally, the calculating module is specifically configured to calculate an acceptance rate of the recommended role name according to feedback for the recommended role name;
The updating module is specifically configured to update the score related to the recommended role name in the virtual role name library according to the acceptance rate of the recommended role name.
Optionally, the device further comprises an adding module, which is used for adding the input role name sent by the client into the virtual role name library.
Optionally, the device further comprises a processing module, a processing module and a processing module, wherein the processing module is used for carrying out transformation processing on the virtual role names in the virtual role name library to obtain newly generated role names;
the adding module is specifically configured to add the new role name to the virtual role name library.
Optionally, the longer the running time is, the lower the system temperature is, and the more the number of the newly added character names is, the higher the system temperature is.
Optionally, the calculating module is specifically configured to calculate a choice probability according to the system temperature;
the accepting and rejecting module is specifically configured to accept and reject the history recommended name according to the accepting and rejecting probability.
Optionally, if the system temperature is greater than or equal to a first preset temperature threshold, the probability of choosing or rejecting is a first probability of choosing or rejecting;
And the choosing and rejecting module is specifically configured to discard, according to the first choosing and rejecting probability, the virtual role names with scores greater than or equal to a first scoring threshold in the historical recommended names.
Optionally, if the system temperature is less than a second preset temperature threshold, the probability of choosing or rejecting is a second probability of choosing or rejecting;
and the accepting and rejecting module is specifically configured to discard, according to the second accepting and rejecting probability, the virtual role name in the historical recommendation names, where the score of the virtual role name is smaller than a second score threshold.
In a fourth aspect, another embodiment of the present application provides a virtual character name recommendation apparatus, where the apparatus includes a sending module, a receiving module, and a returning module, where:
the sending module is used for responding to the creation operation of the input virtual character name and sending a virtual character name acquisition request to the server;
The receiving module is used for receiving the recommended role name returned by the server, wherein the recommended role name is one virtual role name randomly selected by the server from a preset virtual role name library;
The return module is used for responding to input feedback operation aiming at the recommended role names, returning feedback aiming at the recommended role names to the server to indicate whether the recommended role names are accepted or not, so that the server updates scores of the recommended role names in the virtual role name library to accept or reject historical recommended names in the virtual role name library based on the scores of the historical recommended names in the virtual role name library, wherein the historical recommended names are the recommended role names with scores.
Optionally, when the feedback operation indicates that the recommended role name is not accepted, the sending module is specifically configured to respond to an input operation of an input role name, and send the input role name to the server, so that the server adds the input role name to the virtual role name library.
In a fifth aspect, another embodiment of the present application provides a avatar name recommendation device, comprising a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the avatar name recommendation device is running, the processor executing the machine-readable instructions to perform the steps of the method as described in any one of the first or second aspects above.
In a sixth aspect, another embodiment of the application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of the first or second aspects described above.
The virtual character name recommending method has the advantages that the server can respond to the virtual character name acquiring request sent by the client, randomly select one virtual character name from the preset virtual character name library, send the virtual character name to the client, then feed back the score of the virtual character name according to the choice of the name by the client, update the score of the virtual character name library according to the running time and/or the number of virtual character names in the virtual character name library in the preset time, dynamically calculate the system temperature, so that the virtual character name library can accept and reject the historical recommended name according to the system temperature and the scores of the historical recommended names in the virtual character name library. In addition, the choosing and rejecting mode of historical recommended names according to the system temperature ensures the flexibility of choosing and rejecting, prevents the problem that the virtual character name library falls into local optimum along with the optimization of the virtual character name library, and better realizes the autonomous iteration of the virtual character name library.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
Additionally, flowcharts used in this disclosure illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
To facilitate understanding of embodiments of the present application, the following description of partial terms related to the present application will be given:
The simulated annealing algorithm (Simulated Annealing/SA) is derived from the solid annealing principle that the solid is heated to be sufficiently high and then slowly cooled, when the solid is heated, internal particles of the solid become disordered with the increase of temperature, the internal energy is increased, and when the solid is slowly cooled, the particles gradually become ordered, the temperature reaches an equilibrium state at each temperature, and finally reaches a ground state at normal temperature, and the internal energy is minimized. Is a random optimizing algorithm based on Monte-Carlo iterative solving strategy. The method is a universal optimization algorithm of a serial structure which is extremely small in local sinking and finally tends to global optimization through endowing a time-varying and eventually zero-tending probability kick property in a searching process.
And scoring/estimating, namely simulating the judging of the quality of the virtual character names by the annealing system. The higher the score, the more acceptable the name is to the player, with higher recommendation value.
The system temperature (T) simulates one of the global states of the annealing system, similar to "entropy". Generally, the higher the system temperature, the more intense the system is in iteration, and even if the newly generated name score is not high, the more easily the system is accepted, and the system is more inclusive. The algorithm starts to run, the system is in the initial stage of initialization, at this time, the system often has a very high system temperature, and the system temperature gradually decreases from the late stage of operation. Lower system temperatures indicate a tendency for the system to converge, where the system is more prone to choose the new name with a lower score than the original name in the system.
Metropolis criterion, one of the cores of the simulated annealing algorithm, decides on the choice of a transformation/newly introduced name, which allows the system to accept changes to some extent. The extent of the change accepted is related to the temperature of the system, and in general, the higher the temperature the more readily the system accepts the change, i.e., the new name with a lower score for the new introduction. The system can better jump out of the local optimal solution by introducing the behavior of the new name with low score. The method adopts a classical Metropolis criterion in a simulated annealing algorithm as a trade-off scheme of the name.
The following explains a virtual character name recommendation method provided by the embodiment of the application in combination with a plurality of specific application examples. Fig. 1 is a flow chart of a virtual character name recommendation method according to an embodiment of the present application, where an execution subject of the method is a server, as shown in fig. 1, and the method includes:
S101, sending recommended role names from the virtual role name library to the client.
In the embodiment of the application, when the server acquires the acquisition request for the virtual role name sent by the client, a recommended role name is determined in the virtual role name library and is sent to the client.
The name acquisition request of the virtual character is generally initiated when the client creates a new virtual character or when the name of the virtual character is modified for the created virtual character, and the specific scenario of initiating the virtual character name acquisition request can be flexibly adjusted according to the needs of the user, which is not limited by the above embodiments.
Fig. 2 is an interface schematic diagram of an avatar name recommendation interface provided in an embodiment of the present application, where, as shown in fig. 2, a current scene is taken as an example of creating a new avatar, a graphical user interface corresponding to the created scene is displayed on a client, for example, appearance information of the currently created avatar, for example, whole body appearance or half body appearance of the avatar, etc., may be displayed on the left side of the graphical user interface, for example, a player may view appearance information of different angles of the avatar through a rotation operation within a preset range around the avatar, the information of the currently created avatar, for example, identity information, color development information, name information, etc., the player may trigger a name acquisition request by clicking a screen control on the left side of the name, that is, once clicking the screen control, triggering the client to send a name acquisition request of the avatar to a server, as shown in fig. 2, the type of the current avatar is doctor, the color development is black, the name is peach source foraging snow, it should be understood that the embodiment is only illustrative, the content displayed in the specific graphical user interface, and the position of each content display may be provided in the graphical user interface, and the position of the icon may not be adjusted in a flexible manner according to the need of implementing the name of the icon and the flexible embodiment.
After receiving the recommended role name sent by the server, the client may display the recommended role name sent by the current server in a name information display box of the currently created virtual role on the right side, for example, in the graphical user interface in fig. 2, so that the player views the current recommended role name.
S102, according to feedback for the recommended role names sent by the client, the scores of the recommended role names in the virtual role name library are updated.
In some possible embodiments, if the player accepts the current recommended character name, the game may be entered with the current recommended character name as the name of the character, for example, by clicking on a enter game control in a graphical user interface on the terminal device.
If the player does not accept the name of the current recommended role, for example, the player can click the screen control again to initiate an acquisition request of the name of the virtual role to the server again to acquire and display the new name of the recommended role sent by the server again, or click any position in the name information display frame to trigger the display of the input interface, the player can modify the name of the recommended role in the name information display frame in a self-input manner, or can input the name of the current virtual role in the name information display frame by self, it should be understood that the above embodiment is only an exemplary illustration, and the manner of specifically accepting the name of the current recommended role and the manner of not accepting the name of the current recommended role and the processing manner after not accepting the name of the current recommended role can be flexibly adjusted according to the needs of the user, and are not limited by the above embodiment.
In some possible embodiments, for example, if the feedback of the client for the recommended role name is acceptable, the score of the recommended role name may be increased according to a preset score basis, if the feedback of the client for the recommended role name is not acceptable, the score of the recommended role name may be decreased according to a preset score basis, and the acceptance of the player for each recommended role name may be known by the score of each recommended role name.
In the embodiment of the present application, the virtual character name library may be simultaneously applied to a plurality of servers, and is continuously optimized and updated in the application process, but for the same server, generally the same character name may not be used by a plurality of players, for example, the server a has recommended the recommended character name a, and after the recommended character name a is accepted by a player, the current recommended character name a may be indicated by marking the recommended character name a or setting a label form, so that the recommended character name a may not be recommended to the player in the server a any more, but for other servers not recommended the recommended character name a or recommended the recommended character name a but not accepted by the player, for example, the server B may be recommended to the player side corresponding to the server B.
S103, dynamically calculating the system temperature according to the number of virtual character names in the virtual character name library in the running time and/or the preset time.
The longer the running time is, the lower the system temperature is, and the more the number of newly added character names in the virtual character name library is, the higher the system temperature is.
In the embodiment of the application, the system temperature at the initial moment is set to a relatively high value before the method is operated, then the system temperature gradually decreases along with the increase of the operation time, and when the newly added role name is introduced into the virtual role name library, the system temperature increases again according to the number of the newly added role names, wherein the set value of the initial temperature, the proportion of the temperature decreasing along with the operation time or the proportion of the temperature increasing along with the newly added role name can be flexibly adjusted according to the user requirement, and the application is not limited in any way.
S104, choosing and rejecting the historical recommended names according to the system temperature and the scores of the historical recommended names in the virtual character name library.
The historical recommendation names are recommendation role names which are fed back by the client, namely recommendation role names with scores, virtual role names which are not recommended to the player or are recommended to the player but not fed back by the player do not belong to the historical recommendation names.
In the embodiment of the application, for example, reference may be made to the metapolis criterion in the simulated annealing algorithm, in order to avoid the system falling into a locally optimal solution, the probability of accepting a new solution may be determined according to the current system temperature, and as the system temperature gradually decreases, the probability of accepting a new solution may be gradually lower, and at this time, the recommended role names with no scores in the virtual role name library may be replaced with the virtual role names with lower scores in the history recommended names, that is, those cold virtual role names that are not accepted by the player for a long time may be replaced, so as to achieve convergence of the system.
By adopting the virtual character name recommending method provided by the application, the server can respond to the virtual character name acquiring request sent by the client, randomly select one virtual character name from the preset virtual character name library and send the virtual character name to the client, and then update the score of the name according to the optional feedback of the client, and dynamically calculate the system temperature according to the running time and/or the number of the virtual character names in the virtual character name library in the preset time, so that the virtual character name library can be selected and omitted according to the system temperature and the scores of the historical recommended names in the virtual character name library. In addition, the choosing and rejecting mode of historical recommended names according to the system temperature ensures the flexibility of choosing and rejecting, prevents the problem that the virtual character name library falls into local optimum along with the optimization of the virtual character name library, and better realizes the autonomous iteration of the virtual character name library.
Optionally, on the basis of the foregoing embodiment, the embodiment of the present application may further provide a virtual character name recommendation method, and an implementation process of updating the score of the recommended character name in the foregoing method is illustrated with reference to the accompanying drawings. Fig. 3 is a flowchart of a virtual character name recommendation method according to another embodiment of the present application, where as shown in fig. 3, S102 may include:
s105, calculating the acceptance rate of the recommended role name according to feedback of the recommended role name.
The feedback is determined according to a selection operation of whether the player accepts the recommended role name, if the player selects to enter the game after checking the recommended role name sent by the server, the current recommended role name is determined to be accepted by the player, namely, the client sends an acceptance feedback for the recommended role name to the server.
If the player checks the name of the recommended character sent by the server and then re-initiates a name acquisition request of the virtual character to the server or re-inputs the name of the virtual character, the current name of the recommended character is not accepted by the player, that is, the client sends non-accepted feedback for the name of the recommended character to the server.
In the embodiment of the application, the player feedback for each recommended role name is abstracted into the evaluation standard of each recommended role name, so that the evaluation standard or the evaluation function corresponding to each recommended role name is unified.
When recommending the character names to the player, the server may adopt a part of the recommended character names and discard a part of the recommended character names, so that the acceptance degree between different recommended character names can be compared through the times that each recommended character name is accepted and discarded (not accepted), the recommended character names with more accepted times are considered as better optimization results, and the recommended character names are recommended to the player to be accepted more easily, so that the server has higher recommendation value. Otherwise, the method is considered as bad elimination, and the recommended character names are not easily accepted by the player, namely, the recommended character names are more prone to be eliminated from the virtual character name library.
In one embodiment of the application, if the recommended role name is not accepted and the player inputs the virtual role name by himself, the input role name sent by the client is used as the newly-introduced virtual role name and added into the virtual role name library, so that the virtual role name library can be expanded in the use process of the virtual role name library and can be obtained in a mode of acquiring the input role name sent by the player, manual expansion of operation and maintenance personnel is not needed, and the labor cost and the time cost consumed for expanding or updating the virtual role name library are reduced.
And S106, updating scores of the recommended role names in the virtual role name library according to the acceptance rate of the recommended role names.
In the embodiment of the application, the higher the acceptance rate of the recommended role name, the higher the quality of the current recommended role name, the higher the corresponding score of the player on the current recommended role name, the lower the acceptance rate of the recommended role name, the lower the quality of the current recommended role, and the lower the corresponding score of the player on the current recommended role name.
In other possible embodiments, the new generated character name may also be obtained by transforming the virtual character names in the virtual character name library, and adding the new generated character name to the virtual character name library.
For example, more new names can be obtained by combining part characters or words of the name A and part characters or words of the name B in the virtual character name library, for example, the name A is peach garden snow seeking, the name B is snow girl, the name A and the name B can be combined to generate peach garden, snow girl snow seeking, peach girl, snow garden, etc., the name expansion mode does not need manual expansion by operation and maintenance personnel, the expansion of the virtual character name library can be realized directly based on the existing virtual character names in the virtual character name library, and the labor cost and the time cost consumed for expanding or updating the virtual character name library are reduced.
In some possible embodiments, the trade-off manner may be, for example, calculating a trade-off probability according to the system temperature, and trade-off the historical recommendation name according to the trade-off probability.
In some possible embodiments, the subject of the trade-off may trade-off, for example, a newly generated name and a historical recommended name that has been scored in the system, a virtual character name that has not been recommended to the player, or that has been recommended to the player but has not received trade-off feedback from the player, is not involved in the trade-off.
In the choosing and sorting process, the choosing and sorting probability may be changed according to different temperatures of the system, and still taking the metapolis criterion in the simulated annealing algorithm as an example, in order to avoid the system falling into a locally optimal solution, the probability of accepting a new solution may be determined according to the current system temperature, and as the system temperature gradually decreases, the probability of accepting the new solution may be gradually decreased, and at this time, the new virtual character name may be replaced with the virtual character name whose score is smaller than the second scoring threshold in the history recommended name, that is, those cold door virtual character names which are not accepted by the player for a long time may be replaced, so as to realize convergence of the system.
However, in some possible embodiments, when a number of newly generated avatar names are added to the avatar name library, the temperature of the system will be higher, and the newly generated nickname will replace the avatar name with a score greater than or equal to the first scoring threshold in the history recommended names, that is, the higher the temperature of the system, the higher the acceptance of the avatar name with a lower score.
In the embodiment of the application, in order to ensure the accuracy of judgment, the virtual role names with the existing scores can be, for example, the scores with the feedback times larger than the preset threshold value, and the scores corresponding to the virtual role names can be regarded as effective scores, so that the problem that the accuracy of the subsequent judgment is influenced due to the fact that the scores are too high or too low due to the fact that the feedback times are not too many is prevented, the reference value is not great, namely, the effectiveness of the selection is ensured by only selecting and rejecting the virtual role names with the effective scores, the virtual role names in the virtual role name library are selected and rejected by referring to the simulated annealing algorithm, the problem of the local optimum trapping caused by the selection of the simple scoring principle is prevented, and the dynamic updating performance of the virtual name library is improved.
For example, if the system temperature is greater than or equal to a first preset temperature threshold, the probability of choosing and rejecting is the first probability of choosing and rejecting, according to the first probability of choosing and rejecting, the virtual character names with scores greater than or equal to the first scoring threshold in the historical recommended names are discarded, if the system temperature is less than a second preset temperature threshold, the probability of choosing and rejecting is the second probability of choosing and rejecting, and according to the second probability of choosing and rejecting, the virtual character names with scores less than the second scoring threshold in the historical recommended names are discarded.
In other possible embodiments, still a combination of a part word or word of the name a and a part word or word of the name B in the virtual character name library is used to obtain more new names, and for the new names obtained in the above manner, the new names may be regarded as child names of the names a and B, so that the names a and B may be used as parent names of the new names, and in the case that the parent names and the child names receive the alternative feedback, and the alternative feedback is greater than a preset feedback threshold, the alternative is made between the child names and the parent names by comparing the scores of the child names and the parent names, and the alternative is based on, for example, that the child names/parent names with high retention scores may be discarded, so as to complete the optimization update of the virtual character name library.
The optimized life cycle of the virtual character name library is consistent with the maintenance cycle of the server, for example, the maintenance cycle of the server is one week, and maintenance is stopped once every other week. The optimization algorithm is stopped during the maintenance of the server until the next service is resumed. If the game server never stops maintaining, the optimization algorithm runs all the time, so that continuous optimization of the virtual character name library is realized. In addition, the player's preference for the virtual character names is constantly changing, so the scores of the virtual character names in the virtual character name library are constantly changing. That is, the dynamic change factors in the optimization algorithm are many, so that the virtual character name library has value of iterative updating all the time.
By adopting the virtual character name recommending method provided by the application, the virtual character name library can be continuously expanded in various modes of introducing new names, names in the virtual character name library are selected and removed in a preset selecting and removing mode, in addition, the selecting and removing method of the simulated annealing algorithm ensures flexibility of selecting and removing, the problem that the virtual character name library falls into local optimum along with the optimization of the virtual character name library is prevented, the autonomous iteration of the virtual character name library is better realized, the virtual character name library is automatically updated, the effect of increasing the time and the time is achieved, a large amount of labor maintenance cost is saved, and the virtual character names provided for players through the optimized virtual character name library are more easily accepted by the players, and the use experience of the players is improved.
Optionally, on the basis of the above embodiment, the embodiment of the present application may further provide a virtual character name recommendation method, and an implementation procedure of the method is described below by way of example with reference to the accompanying drawings. Fig. 4 is a flowchart of a virtual character name recommendation method according to another embodiment of the present application, where an execution subject of the method is a client, and as shown in fig. 4, the method may include:
S201, responding to the input creation operation of the virtual character name, and sending a virtual character name acquisition request to a server.
S202, receiving the name of the recommended role returned by the server.
The recommended character names are one virtual character name randomly selected by the server from a preset virtual character name library.
S203, responding to the input feedback operation for the recommended role name, and returning the alternative feedback for the recommended role name to the server.
The method comprises the steps of receiving a recommendation role name, wherein the recommendation role name is received, enabling a server to update scores of the recommendation role names, and accepting and rejecting historical recommendation names in a virtual role name library based on scores of historical recommendation names in the virtual role name library, and the historical recommendation names are recommendation role names with scores.
Optionally, on the basis of the foregoing embodiment, the embodiment of the present application may further provide a virtual character name recommendation method, and an implementation process of updating the score of the recommended character name in the foregoing method is illustrated with reference to the accompanying drawings. Fig. 5 is a flowchart of a method for recommending a virtual role name according to another embodiment of the present application, as shown in fig. 5, when a feedback operation indicates that a recommended role name is not accepted, the method may further include:
s204, responding to the input operation of the input role name, and sending the input role name to the server.
The server adds the input character name into the virtual character name library, wherein the input operation is the operation that the player does not accept the recommended character name recommended by the server and inputs the character name by himself.
The above method is only a method corresponding to the opposite side execution subject of the virtual character name recommendation method provided in fig. 1-3, so that the beneficial effects are the same as those of fig. 1-3, and the present application will not be described herein.
The following explanation is made on the virtual character name recommendation device provided by the present application with reference to the accompanying drawings, and the virtual character name recommendation device may execute any one of the virtual character name recommendation methods of fig. 1-3, and the specific implementation and the beneficial effects thereof are referred to the above and are not repeated herein.
Fig. 6 is a schematic structural diagram of a virtual role name recommending apparatus according to an embodiment of the present application, as shown in fig. 6, where the apparatus includes a sending module 301, an updating module 302, a calculating module 303, and a choosing module 304, where:
a sending module 301, configured to send a recommended role name from the virtual role name library to the client;
the updating module 302 is configured to update a score related to the recommended role name in the virtual role name library according to feedback of the client for the recommended role name;
a calculating module 303, configured to dynamically calculate a system temperature according to the number of virtual character names in the virtual character name library in the running time and/or the preset time;
And the accepting and rejecting module 304 is configured to accept and reject the historical recommendation names according to the system temperature and scores of the historical recommendation names in the virtual character name library, where the historical recommendation names are recommendation character names with scores.
Optionally, the calculating module 303 is specifically configured to calculate an acceptance rate of the recommended role name according to feedback for the recommended role name;
The updating module 302 is specifically configured to update the score on the recommended role name in the virtual role name library according to the acceptance rate of the recommended role name.
Optionally, on the basis of the foregoing embodiment, the embodiment of the present application may further provide a virtual character name recommendation apparatus, where an implementation process of the apparatus shown in fig. 6 is described below by way of example with reference to the accompanying drawings. Fig. 7 is a schematic structural diagram of a virtual role name recommending apparatus according to another embodiment of the present application, and as shown in fig. 7, the apparatus further includes an adding module 305, configured to add an input role name sent by a client to a virtual role name library.
As shown in fig. 7, the device further includes a processing module 306, configured to perform a transformation process on the virtual role names in the virtual role name library to obtain newly generated role names;
the adding module 305 is specifically configured to add the new character name to the virtual character name library.
Alternatively, the longer the run time, the lower the system temperature, and the greater the number of newly added role names, the higher the system temperature.
Optionally, the calculating module 303 is specifically configured to calculate the probability of choice according to the system temperature;
The accepting and rejecting module 304 is specifically configured to accept and reject the historical recommendation name according to the accepting and rejecting probability.
Optionally, if the system temperature is greater than or equal to a first preset temperature threshold, the probability of choosing or rejecting is a first probability of choosing or rejecting;
The accepting and rejecting module 304 is specifically configured to discard, according to the first accepting and rejecting probability, the avatar names with scores greater than or equal to the first scoring threshold in the historical recommendation names.
Optionally, if the system temperature is less than a second preset temperature threshold, the probability of choosing or rejecting is a second probability of choosing or rejecting;
The accepting and rejecting module 304 is specifically configured to discard, according to the second accepting and rejecting probability, the avatar names with scores less than the second score threshold in the historical recommendation names.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The following explanation is made on the virtual character name recommending apparatus provided by the present application with reference to the accompanying drawings, and the virtual character name recommending apparatus may execute the virtual character name recommending method of fig. 4-5, and the specific implementation and the beneficial effects thereof refer to the above and are not repeated herein.
Fig. 8 is a schematic structural diagram of a virtual character name recommendation device according to an embodiment of the present application, as shown in fig. 8, the device includes a sending module 401, a receiving module 402, and a returning module 403, where:
a sending module 401, configured to send a virtual role name acquisition request to a server in response to an input creation operation of a virtual role name;
the receiving module 402 is configured to receive a recommended role name returned by the server, where the recommended role name is that the server randomly selects one virtual role name from a preset virtual role name library as the recommended role name;
And a return module 403, configured to return, in response to an input feedback operation for the recommended role name, a round-off feedback for the recommended role name to the server to indicate whether the recommended role name is accepted, so that the server updates the score of the recommended role name to round-off the historical recommended names in the virtual role name library based on the scores of the historical recommended names in the virtual role name library, where the historical recommended names are the recommended role names with scores.
Optionally, when the feedback operation indicates that the recommended role name is not accepted, the sending module 401 is specifically configured to send the input role name to the server in response to an input operation of the input role name, so that the server adds the input role name to the virtual role name library.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The modules above may be one or more integrated circuits configured to implement the above methods, such as one or more Application SPECIFIC INTEGRATED Circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (Field Programmable GATE ARRAY, FPGAs), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic structural diagram of a virtual role name recommending device according to an embodiment of the present application, where the virtual role name recommending device may be integrated in a terminal device or a chip of the terminal device.
As shown in fig. 9, the avatar name recommending apparatus includes a processor 501, a storage medium 502, and a bus 503.
The processor 501 is configured to store a program, and the processor 501 invokes the program stored in the storage medium 502 to execute the method embodiments corresponding to fig. 1 to 5. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program which, when being executed by a processor, performs the corresponding embodiments of the above-mentioned method.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application. The storage medium includes various media capable of storing program codes, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk.